php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #36215 Fetching TIME-type data from views
Submitted: 2006-01-30 19:36 UTC Modified: 2006-02-20 01:00 UTC
Votes:3
Avg. Score:1.7 ± 0.9
Reproduced:0 of 3 (0.0%)
From: k dot zhinko at grape dot ru Assigned:
Status: No Feedback Package: InterBase related
PHP Version: 4.4.2 OS: Windows XP Pro SP2
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: k dot zhinko at grape dot ru
New email:
PHP Version: OS:

 

 [2006-01-30 19:36 UTC] k dot zhinko at grape dot ru
Description:
------------
I couldn't fetch TIME-type data from views. The query processes correctly in IBExpert.

Reproduce code:
---------------
<?php

$q = ibase_query('SELECT d.START_TIME FROM VW_SOME_VIEW');
$a = ibase_fetch_assoc($q);
print_r($a['START_TIME']);

echo "\n";

$q = ibase_query('SELECT d.START_TIME FROM VW_SOME_TABLE');
$a = ibase_fetch_assoc($q);
print_r($a['START_TIME']);


?>

Expected result:
----------------
03:44
03:44

Actual result:
--------------
-1
03:44

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-02-12 09:31 UTC] sniper@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php5.1-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5.1-win32-latest.zip


 [2006-02-20 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 06:01:30 2024 UTC