php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #25483 Wrong variable name descrpid instead of i_descrpid on line #926 in ifx.ec
Submitted: 2003-09-11 03:43 UTC Modified: 2003-09-11 19:50 UTC
From: denisov at kubsu dot ru Assigned:
Status: Closed Package: Informix related
PHP Version: 4.3.3 OS: Solaris 8 sparc
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: denisov at kubsu dot ru
New email:
PHP Version: OS:

 

 [2003-09-11 03:43 UTC] denisov at kubsu dot ru
Description:
------------
Wrong variable name descrpid instead of i_descrpid on line #926 in ifx.ec

Reproduce code:
---------------
# diff ifx.ec ifx.ec.orig
926c926
<                                               EXEC SQL SET DESCRIPTOR :i_descrpid VALUE :i
---
>                                               EXEC SQL SET DESCRIPTOR :descrpid VALUE :i


Actual result:
--------------
When I try to execute SQL update statement with char parameters, the
following error occured:


Informix Error -469
This descriptor does not exist. 

PHP Code:

$QUERY = "INSERT INTO tab (col1, col2) VALUES ( ?, ? )";
$blobidarray[] = ifx_create_char($username);
$blobidarray[] = ifx_create_char($password);
$res_id = ifx_query($QUERY, $conn_id, $blobidarray);


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-09-11 19:50 UTC] sniper@php.net
Patch applied, thanks!

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Nov 21 14:01:29 2024 UTC