#32990 [Fbk]: Invalid statement handle
| From: | sniper@php.net | Date: | Sat, 10 Sep 2005 21:31:06 +0000 |
| Subject: | #32990 [Fbk]: Invalid statement handle | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-84850@lists.php.net to get a copy of this message | ||
ID: 32990
Updated by: sniper@php.net
Reported By: kevin dot bluck at mail dot com
Status: Feedback
Bug Type: InterBase related
Operating System: Win2000
PHP Version: 5.0.5
New Comment:
And try using the PDO Firebird driver instead of ext/interbase..
Previous Comments:
------------------------------------------------------------------------
[2005-09-10 23:29:11] sniper@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5-win32-latest.zip
------------------------------------------------------------------------
[2005-09-10 01:23:59] kevin dot bluck at mail dot com
I just tested this against v.5.0.5 It still reproduces by the sample
code submitted 10 May 2005.
------------------------------------------------------------------------
[2005-05-10 01:11:27] kevin dot bluck at mail dot com
It seems specifically to apply when a query is prepared with
ibase_prepare and run with ibase_execute; ibase_query does not show
warning.
This code reproduces on my system.
<?php
function foo() {
$link = ibase_connect("Server:Database.gdb", "SYSDBA",
"masterkey");
$query = ibase_prepare( $link, "SELECT * FROM Table" );
ibase_execute( $query );
ibase_close ($link);
return -1; // generates the warning
}
$x = foo(); // warning displayed
?>
------------------------------------------------------------------------
[2005-05-09 19:29:00] kevin dot bluck at mail dot com
Description:
------------
Appears to be a reversion of previously closed Bug #14039: symptoms
seem identical to that bug report.
http://bugs.php.net/bug.php?id=14039
Commenting out the ibase_close call eliminates the warning message.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=32990&edit=1