php.net |  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: rahulpriyadarshi@php.net 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:
MUST BE VALID
Solve the problem:
21 - 18 = ?
Subscribe to this entry?

 
 [2012-06-06 05:55 UTC] rahulpriyadarshi@php.net
Description:
------------
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


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-06-06 06:09 UTC] rahulpriyadarshi@php.net
-Package: PECL +Package: ibm_db2 -Assigned To: +Assigned To: rahulpriyadarshi
 [2012-06-06 06:09 UTC] rahulpriyadarshi@php.net
changing package name to ibm_db2
 [2012-10-22 07:18 UTC] rahulpriyadarshi@php.net
Fix has been released with ibm_db2-1.9.4.
 [2012-10-22 07:19 UTC] rahulpriyadarshi@php.net
-Status: Assigned +Status: Closed
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 09:01:27 2024 UTC