#25483 [Opn->Csd]: Wrong variable name descrpid instead of i_descrpid on line #926 in ifx.ec

From: Date: Thu, 11 Sep 2003 23:50:11 +0000
Subject: #25483 [Opn->Csd]: Wrong variable name descrpid instead of i_descrpid on line #926 in ifx.ec
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-47482@lists.php.net to get a copy of this message
ID: 25483 Updated by: sniper@php.net 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

« previous php.bugs (#47482) next »