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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
47 + 15 = ?
Subscribe to this entry?

 
 [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

Add a Patch

Pull Requests

Add a Pull Request

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: Fri Apr 26 22:01:29 2024 UTC