ID: 34158
Updated by: tony2001@php.net
Reported By: aesthete at telecenter dot ru
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:
Fix this bug for example?
Previous Comments:
------------------------------------------------------------------------
[2007-04-12 14:14:10] aesthete at telecenter dot ru
Ok .. what i must do to become maintainer of ext/interbase ? ...
------------------------------------------------------------------------
[2007-04-11 19:39:37] tony2001@php.net
>can we solve problem with wrong t.tm_isdst = -1; value ?
Sure we can.
The problem is that ext/interbase author doesn't maintain the extension
anymore, so you'll have to wait for someone who has enough knowledge and
desire to take it over.
This "someone" might be you, of course, you seem to be the only person
actively using Interbase I know of.
------------------------------------------------------------------------
[2007-04-11 19:28:07] aesthete at telecenter dot ru
Tony ... this is simple query which return next value of generator
GEN_DOSTAVKA_ID ... on other interfaces like isql or Ibexpert it return
right values ... may be you see my previos bug:
http://bugs.php.net/bug.php?id=41025
But #34158 bug not about this PDO driver ... can we solve problem with
wrong t.tm_isdst = -1; value ?
------------------------------------------------------------------------
[2007-04-10 16:23:42] tony2001@php.net
Why do you think it should return non-empty string?
Did you try to run this query using other interfaces to Interbase?
------------------------------------------------------------------------
[2007-04-10 16:11:51] aesthete at telecenter dot ru
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.
------------------------------------------------------------------------
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