#30114 [Opn->Fbk]: crash php-cli after "CREATE TABLE " and "DROP TABLE"
ID: 30114
Updated by: abies@php.net
Reported By: max at webscript dot ru
-Status: Open
+Status: Feedback
Bug Type: InterBase related
Operating System: Win XP Pro
PHP Version: 5CVS-2004-09-16 (dev)
New Comment:
Please post the Interbase library versions returned by phpinfo()
Previous Comments:
------------------------------------------------------------------------
[2004-09-16 14:45:00] max at webscript dot ru
Description:
------------
when i try to create table via ibase_query() and then drop table it
crash php (cli and mod_php)
Table droped successfully but WinXP show window with error in php.exe
(or apache.exe if i test it with mod_php)
Reproduce code:
---------------
$host = 'localhost:C:\BASE\MY.GDB';
$conn = ibase_connect($host, 'SYSDBA', 'masterkey');
$sql = "CREATE TABLE test_charset(ch varchar(200))";
ibase_query($conn, $sql) or die(ibase_errmsg());
$sql = "DROP TABLE test_charset";
ibase_query($conn, $sql) or die(ibase_errmsg());
Expected result:
----------------
it must create table and then drop it without any errors and warnings
Actual result:
--------------
i got window whihc inform me, that error happened in php.exe.
-------
AppName: php.exe AppVer: 5.0.2.2 ModName: msvcrt.dll
ModVer: 7.0.2600.0 Offset: 0002f548
----
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=30114&edit=1
Thread (6 messages)