File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / ext / sqlite / tests / bug48679.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--
Bug #48679 (sqlite2 count on unbuffered query causes segfault)
--SKIPIF--
<?php 
if (!extension_loaded("sqlite")) print "skip"; 
?>
--FILE--
<?php

try {
	$x = new sqliteunbuffered;
	count($x);
} catch (SQLiteException $e) {
	var_dump($e->getMessage());
}
echo "Done\n";
?>
--EXPECT--	
string(41) "Row count is not available for this query"
Done

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