Browse Source

Avoid warning to interfere test result

PHP-5.0
Marcus Boerger 22 years ago
parent
commit
af17964ef4
  1. 4
      ext/sqlite/tests/bug28112.phpt

4
ext/sqlite/tests/bug28112.phpt

@ -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===

Loading…
Cancel
Save