|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #62238 Db2 PHP driver does not work as expected with values in BIGINT column
Submitted: 2012-06-06 05:55 UTC Modified: 2012-10-22 07:19 UTC
From: Assigned: rahulpriyadarshi (profile)
Status: Closed Package: ibm_db2 (PECL)
PHP Version: Irrelevant OS: ALL
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:
Solve the problem:
46 - 14 = ?
Subscribe to this entry?

 [2012-06-06 05:55 UTC]
When a value more than 10 digits (32 bit) is entered in a table in BIGINT column through PHP program the value entered in table is a    different negative value than the actual one inserted.
The value is inserted successfully as it is using CLP.
Thus it seems to be a problem in the IBM_DB2 extension for PHP.

We already have the patch of this issue and will include this in our next release


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2012-06-06 06:09 UTC]
-Package: PECL +Package: ibm_db2 -Assigned To: +Assigned To: rahulpriyadarshi
 [2012-06-06 06:09 UTC]
changing package name to ibm_db2
 [2012-10-22 07:18 UTC]
Fix has been released with ibm_db2-1.9.4.
 [2012-10-22 07:19 UTC]
-Status: Assigned +Status: Closed
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Thu Sep 23 06:03:35 2021 UTC