ID: 48705
Updated by: [email protected]
Reported By: ricardo dot norena dot bog at interlogisticasia dot
com
-Status: Open
+Status: Bogus
Bug Type: PDO related
Operating System: linux
PHP Version: 5.3.0RC4
New Comment:
Duplicated of bug #47845
By the way, it was fixed today.
Thanks. :)
Previous Comments:
------------------------------------------------------------------------
[2009-06-26 17:07:06] ricardo dot norena dot bog at interlogisticasia
dot com
Description:
------------
The PDO driver Firebird if the type of field is date only return the
first value the other records are empty
The system setup is
Linux Open Suse 11.1
Apache 2.2.11
PHP 5.3.0RC3 compiled and installed manually
Firebird 2.1
Reproduce code:
---------------
// ...
$dsn = 'firebird:dbname=XXXXX';
require_once('bootstrap.php');
$stmt = $conn->prepare('SELECT * FROM SOLICITUD');
$stmt->execute();
$results = $stmt->fetchall();
print_r($results);
Expected result:
----------------
ID DATE
1 2005-01-01
2 2005-01-02
3 2005-01-03
Actual result:
--------------
ID DATE
1 2005-01-01
2
3
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=48705&edit=1