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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Tue Jul 01 17:01:34 2025 UTC