helly Thu Apr 22 18:29:42 2004 EDT
Added files:
/php-src/ext/sqlite/tests bug28112.phpt
Log:
Add test for bug #28112
http://cvs.php.net/co.php/php-src/ext/sqlite/tests/bug28112.phpt?r=1.1&p=1
Index: php-src/ext/sqlite/tests/bug28112.phpt
+++ php-src/ext/sqlite/tests/bug28112.phpt
--TEST--
#28112 (sqlite_query() crashing apache on malformed query)
--FILE--
<?php
if (!($db = sqlite_open(":memory:", 666, $error))) die ("Couldn't open the database");
sqlite_query($db, "create table frob (foo INTEGER PRIMARY KEY, bar text);");
$res = sqlite_array_query($db, "");
?>
===DONE===
<?php exit(0); ?>
--EXPECTF--
===DONE===
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php