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
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.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: ricardo dot norena dot bog at interlogisticasia dot com
New email:
PHP Version: OS:

 

 [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: Fri May 10 16:01:32 2024 UTC