php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #59922 "db2_bind_param() [function.db2-bind-param]: Describe Param Failed" error
Submitted: 2011-08-31 20:01 UTC Modified: 2011-09-01 05:06 UTC
From: xavier dot prudhomme at gmail dot com Assigned:
Status: Closed Package: ibm_db2 (PECL)
PHP Version: 5.3.6 OS: Ubuntu 10.04 LTS
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: xavier dot prudhomme at gmail dot com
New email:
PHP Version: OS:

 

 [2011-08-31 20:01 UTC] xavier dot prudhomme at gmail dot com
Description:
------------
Since I have updated my version of DB2 Express-C from v9.7.2 
to v9.7.4, when trying to call Stored Procedures from PHP, I 
am no longer able to use prepared statements and then bind 
parameters with the db2_bind_param ( ) function.

Every time I call the db2_bind_param() function in this 
situation, I got "Warning: db2_bind_param() [function.db2-
bind-param]: Describe Param Failed..."

I repeat that it was working perfectly before the database 
upgrade. The code using the db2_bind_param() function hasn't 
changed at all.

Oddly, when using the function in order to call a DB2 UDF, 
it works fine.

I have even dropped and re-deployed the Stored Procedures, 
just in case the issue could come from a version 
compatibility issue. I have also run the db2updv97 -d 
database_name command, to upgrade my database to the 9.7.4 
features, without any success in resolving the issue.

Thus, I wonder if the problem could come from the php 
ibm_db2 driver?


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-09-01 05:06 UTC] xavier dot prudhomme at gmail dot com
After dropping the database and recreating it, the issue was 
gone. Sorry for the wrong bug report.
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Sun Nov 17 04:01:31 2019 UTC