#25483 [NEW]: Wrong variable name descrpid instead of i_descrpid on line #926 in ifx.ec
| From: | denisov at kubsu dot ru | Date: | Thu, 11 Sep 2003 07:43:50 +0000 |
| Subject: | #25483 [NEW]: Wrong variable name descrpid instead of i_descrpid on line #926 in ifx.ec | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-47431@lists.php.net to get a copy of this message | ||
From: denisov at kubsu dot ru
Operating system: Solaris 8 sparc
PHP version: 4.3.3
PHP Bug Type: Informix related
Bug description: Wrong variable name descrpid instead of i_descrpid on line #926 in ifx.ec
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 bug report at http://bugs.php.net/?id=25483&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=25483&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=25483&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=25483&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=25483&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=25483&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=25483&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=25483&r=support
Expected behavior: http://bugs.php.net/fix.php?id=25483&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=25483&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=25483&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=25483&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25483&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=25483&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=25483&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=25483&r=gnused