]> granicus.if.org Git - php/commitdiff
Avoid warning to interfere test result
authorMarcus Boerger <helly@php.net>
Thu, 22 Apr 2004 22:55:18 +0000 (22:55 +0000)
committerMarcus Boerger <helly@php.net>
Thu, 22 Apr 2004 22:55:18 +0000 (22:55 +0000)
ext/sqlite/tests/bug28112.phpt

index 551e61764e31d072c72dec8dc741385c4f0171a8..05c8ff81f3763cd141cc8e44d181ef1577a5a2e5 100755 (executable)
@@ -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===