helly Thu Apr 22 18:55:18 2004 EDT Modified files: /php-src/ext/sqlite/tests bug28112.phpt Log: Avoid warning to interfere test result http://cvs.php.net/diff.php/php-src/ext/sqlite/tests/bug28112.phpt?r1=1.1&r2=1.2&ty=u Index: php-src/ext/sqlite/tests/bug28112.phpt diff -u php-src/ext/sqlite/tests/bug28112.phpt:1.1 php-src/ext/sqlite/tests/bug28112.phpt:1.2 --- php-src/ext/sqlite/tests/bug28112.phpt:1.1 Thu Apr 22 18:29:41 2004 +++ php-src/ext/sqlite/tests/bug28112.phpt Thu Apr 22 18:55:18 2004 @@ -1,11 +1,11 @@ --TEST-- -#28112 (sqlite_query() crashing apache on malformed query) +Bug #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, ""); +$res = @sqlite_array_query($db, ""); ?> ===DONE===
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php