#6976 [Fbk->Csd]: ibase_query can't execute SQL statements that can't be prepared
| From: | abies@php.net | Date: | Sun, 10 Aug 2003 16:41:14 +0000 |
| Subject: | #6976 [Fbk->Csd]: ibase_query can't execute SQL statements that can't be prepared | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-45661@lists.php.net to get a copy of this message | ||
ID: 6976
Updated by: abies@php.net
Reported By: mlemos at acm dot org
-Status: Feedback
+Status: Closed
Bug Type: InterBase related
Operating System: Linux
PHP Version: 4.0.2
Assigned To: abies
New Comment:
According to the IB6 API Guide, the statements that cannot be prepared
are CREATE DATABASE and SET TRANSACTION. Both of these are taken care
of in the latest CVS version of PHP5.
Previous Comments:
------------------------------------------------------------------------
[2003-08-09 22:23:45] abies@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
------------------------------------------------------------------------
[2003-04-28 11:40:22] wez@php.net
Looks like it will never get fixed.
------------------------------------------------------------------------
[2002-05-25 09:17:06] derick@php.net
Any news on this Jouni?
------------------------------------------------------------------------
[2000-10-06 07:13:37] jah@php.net
Unfortunately, a known fact... Will be fixed some day when both time
and
brains permits. But remember that I'm not promising a fast fix for this
one. :(
------------------------------------------------------------------------
[2000-10-02 13:45:56] mlemos at acm dot org
ibase_query executes queries by preparing them first even when there
are no
arguments to bind. This prevents certain SQL statements to be executed
using PHP Interbase API to execute certain types of queries that can't
be
prepared.
Interbase C API has functions that can be used to execute direct
queries,
so PHP Interbase API ought to use such functions for executing direct
queries.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=6976&edit=1