#32990 [Fbk->Opn]: Invalid statement handle

From: Date: Mon, 09 May 2005 23:11:28 +0000
Subject: #32990 [Fbk->Opn]: Invalid statement handle
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-78833@lists.php.net to get a copy of this message
ID: 32990 User updated by: kevin dot bluck at mail dot com Reported By: kevin dot bluck at mail dot com -Status: Feedback +Status: Open Bug Type: InterBase related Operating System: Win2000 PHP Version: 5.0.4 New Comment: 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 ?> Previous Comments: ------------------------------------------------------------------------ [2005-05-10 00:49:57] sniper@php.net Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.php.net/how-to-report.php If you can provide more information, feel free to add it to this bug and change the status back to "Open". Thank you for your interest in PHP. ------------------------------------------------------------------------ [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

« previous php.bugs (#78833) next »