xref: /PHP-5.3/ext/sqlite/tests/sqlite_018.phpt (revision 610c7fbe)
1--TEST--
2sqlite: crash on bad queries inside sqlite_array_query()
3--SKIPIF--
4<?php # vim:ft=php
5if (!extension_loaded("sqlite")) print "skip"; ?>
6--FILE--
7<?php
8include "blankdb.inc";
9
10sqlite_array_query($db, "SELECT foo FROM foobar");
11sqlite_close($db);
12?>
13--EXPECTF--
14Warning: sqlite_array_query(): no such table: foobar in %s on line %d
15