#48705 [Bgs]: Problem with type date in PDO driver Firebird
| From: | felipe@php.net | Date: | Mon, 20 Jul 2009 01:05:41 +0000 |
| Subject: | #48705 [Bgs]: Problem with type date in PDO driver Firebird | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-139943@lists.php.net to get a copy of this message | ||
ID: 48705
Updated by: felipe@php.net
Reported By: ricardo dot norena dot bog at interlogisticasia dot
com
Status: Bogus
Bug Type: PDO related
Operating System: linux
PHP Version: 5.3.0RC4
New Comment:
I mean bug #48057.
Previous Comments:
------------------------------------------------------------------------
[2009-07-20 01:03:34] felipe@php.net
Duplicated of bug #47845
By the way, it was fixed today.
Thanks. :)
------------------------------------------------------------------------
[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