File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / ext / sqlite / tests / sqlite_018.phpt
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Tue Feb 21 23:48:02 2012 UTC (13 years, 3 months ago) by misho
Branches: php, MAIN
CVS tags: v5_3_10, HEAD
php

--TEST--
sqlite: crash on bad queries inside sqlite_array_query()
--SKIPIF--
<?php # vim:ft=php
if (!extension_loaded("sqlite")) print "skip"; ?>
--FILE--
<?php
include "blankdb.inc";

sqlite_array_query($db, "SELECT foo FROM foobar");
sqlite_close($db);
?>
--EXPECTF--
Warning: sqlite_array_query(): no such table: foobar in %s on line %d

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>