mirror of
https://github.com/php/php-src.git
synced 2024-10-19 15:34:25 +00:00
21 lines
355 B
PHP
21 lines
355 B
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
|