|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6976 ibase_query can't execute SQL statements that can't be prepared
Submitted: 2000-10-02 13:45 UTC Modified: 2003-08-10 11:41 UTC
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: mlemos at acm dot org Assigned: abies (profile)
Status: Closed Package: InterBase related
PHP Version: 4.0.2 OS: Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: mlemos at acm dot org
New email:
PHP Version: OS:


 [2000-10-02 13:45 UTC] 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

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


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2000-10-06 07:13 UTC]
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. :(
 [2002-05-25 09:17 UTC]
Any news on this Jouni?
 [2003-04-28 11:40 UTC]
Looks like it will never get fixed.
 [2003-08-09 22:23 UTC]
Please try using this CVS snapshot:
For Windows:

 [2003-08-10 11:41 UTC]
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.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Jul 20 22:01:29 2024 UTC