|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #57083 Unable to retrieve double/real values from DB2
Submitted: 2006-06-12 16:05 UTC Modified: 2006-11-27 08:32 UTC
From: simonslaws at googlemail dot com Assigned: slaws (profile)
Status: Closed Package: SCA_SDO (PECL)
PHP Version: 5.1.4 OS: Windows XP
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:
Bug Type:
From: simonslaws at googlemail dot com
New email:
PHP Version: OS:


 [2006-06-12 16:05 UTC] simonslaws at googlemail dot com
PHP 5.1.4 
SDO 1.0.1
DB2 8.2FP12

Including columns of type double or real in the statement used to retrieve a data object (from a table with columns of those types) causes the statment to faile (silently) and zero rows to be returned

Reproduce code:

$stmt = "select ainteger, adouble from alltype";    
$root = $das->executeQuery($dbh, $stmt);
// fails

$stmt = "select ainteger from alltype";    
$root = $das->executeQuery($dbh, $stmt);
// succeeds

Expected result:
Avaialble rows to returned when requrested

Actual result:
No data returned when dould or real columns requested


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2006-07-28 11:48 UTC] simonslaws at googlemail dot com
The root cause of this is PDO_ODBC bug 7755 ( I have suggested a fix for this so we just have to wait and see.
 [2006-11-27 07:15 UTC]
The PDO bug is fixed in 5.2
 [2006-11-27 08:32 UTC] simonslaws at googlemail dot com
Fixed in the PDO codebase for PHP 5.2
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Wed Jun 07 06:03:41 2023 UTC