php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #48705 Problem with type date in PDO driver Firebird
Submitted: 2009-06-26 17:07 UTC Modified: 2009-07-20 01:05 UTC
From: ricardo dot norena dot bog at interlogisticasia dot com Assigned:
Status: Not a bug Package: PDO related
PHP Version: 5.3.0RC4 OS: linux
Private report: No CVE-ID: None
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:
4 + 46 = ?
Subscribe to this entry?

 
 [2009-06-26 17:07 UTC] 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  

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-07-20 01:03 UTC] felipe@php.net
Duplicated of bug #47845
By the way, it was fixed today. 

Thanks. :)
 [2009-07-20 01:05 UTC] felipe@php.net
I mean bug #48057.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sun Jul 06 11:02:27 2025 UTC