ID:               25483
 Updated by:       [EMAIL PROTECTED]
 Reported By:      denisov at kubsu dot ru
-Status:           Open
+Status:           Closed
 Bug Type:         Informix related
 Operating System: Solaris 8 sparc
 PHP Version:      4.3.3
 New Comment:

Patch applied, thanks!



Previous Comments:
------------------------------------------------------------------------

[2003-09-11 03:43:50] 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);



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=25483&edit=1

Reply via email to