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
 [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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Thu May 09 23:01:32 2024 UTC