ID:               36215
 Updated by:       [EMAIL PROTECTED]
 Reported By:      k dot zhinko at grape dot ru
-Status:           Open
+Status:           Feedback
 Bug Type:         InterBase related
 Operating System: Windows XP Pro SP2
 PHP Version:      4.4.2
 New Comment:

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




Previous Comments:
------------------------------------------------------------------------

[2006-01-30 19:36:37] 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


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=36215&edit=1

Reply via email to