ID:               34158
 User updated by:  aesthete at telecenter dot ru
 Reported By:      aesthete at telecenter dot ru
-Status:           Feedback
+Status:           Open
 Bug Type:         InterBase related
 Operating System: Linux 2.6.12 (Fedora Core 3)
 PHP Version:      4.4.0/5.x.x
 New Comment:

Ok ... some code:

try {
    $dbh = new PDO
('firebird:dbname=10.0.0.1:/home/dbase/prihod/zakupka.gdb', 'SYSDBA',
'1');
   foreach ($dbh->query('SELECT NAME FROM CARS ORDER BY NAME') as $row)

   {
      echo $row['NAME'].'<br>';
   }
   $dbh = null;
} catch (PDOException $e) {
   print "Error!: " . $e->getMessage() . "<br/>";
   die();
  }
Return right strings.

But when i try 'SELECT GEN_ID(GEN_DOSTAVKA_ID,1) FROM RDB$DATABASE'
with  echo $row['GEN_ID'].'<br>';
nothing return. Probably bug.


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

[2007-04-09 20:41:40] [EMAIL PROTECTED]

[5 Feb 2006 12:15pm UTC] [EMAIL PROTECTED] 
Did you try PDO_FIREBIRD ?

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

[2007-04-08 22:23:51] aesthete at telecenter dot ru

-

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

[2007-04-08 22:21:11] aesthete at telecenter dot ru

Is this bug will be fixed ?

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

[2006-09-17 09:49:41] mario dot perazzoli at tiscali dot it

I think the bug is related with an other bug into libc: in the version
4 and 5 of fedora core distribution, strftime don't work correctly with
tm_isdst = -1 (undefined). 
My question is: whi ib/fb should return another value ather than 0 for
tm_isdst?
I have been solved the bug whith a comment to the row t.tm_isdst = -1;
regards

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

[2006-02-13 01:00:03] 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".

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

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/34158

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

Reply via email to