#19915 [Csd->Bgs]: ibase_query() fails but returns true

From: Date: Tue, 18 Nov 2003 16:02:18 +0000
Subject: #19915 [Csd->Bgs]: ibase_query() fails but returns true
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-50638@lists.php.net to get a copy of this message
ID: 19915 Updated by: abies@php.net Reported By: irie at gmx dot de -Status: Closed +Status: Bogus Bug Type: InterBase related Operating System: Linux 2.4.18 PHP Version: 4.3.0-pre1 Previous Comments: ------------------------------------------------------------------------ [2003-08-09 22:13:22] abies@php.net Because InterBase uses a transaction to process the metadata updates, the dependency conflict is not reported before the is transaction is committed. ------------------------------------------------------------------------ [2002-10-15 05:43:02] irie at gmx dot de 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 this bug report at http://bugs.php.net/?id=19915&edit=1

« previous php.bugs (#50638) next »