#19915 [NEW]: ibase_query() fails but returns true
| From: | irie at gmx dot de | Date: | Tue, 15 Oct 2002 10:43:02 +0000 |
| Subject: | #19915 [NEW]: ibase_query() fails but returns true | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-22486@lists.php.net to get a copy of this message | ||
From: irie@gmx.de
Operating system: Linux 2.4.18
PHP version: 4.3.0-pre1
PHP Bug Type: InterBase related
Bug description: ibase_query() fails but returns true
Hi,
dropping a table fails in interbase if there are existing dependensies for
the table, i.e. if a view is using the table.
Executing such a query with the isql tool I get:
SQL> DROP TABLE SONGS;
Statement failed, SQLCODE = -607
unsuccessful metadata update
-cannot delete
-COLUMN ARTIST
-there are 1 dependencies
But executing the same query via php's ibase_query() returns TRUE :
var_dump(ibase_query($dbhandle, 'DROP TABLE SONGS'));
> bool(true)
Beside 4.3.0-pre1 I've just tested this with 4.0.6 and found the same
behavior.
Lutz
--
Edit bug report at http://bugs.php.net/?id=19915&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=19915&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=19915&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=19915&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=19915&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=19915&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=19915&r=support
Expected behavior: http://bugs.php.net/fix.php?id=19915&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=19915&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=19915&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=19915&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=19915&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=19915&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=19915&r=isapi