diff options
| author | Ilia Alshanetsky <iliaa@php.net> | 2004-01-14 21:17:09 +0000 |
|---|---|---|
| committer | Ilia Alshanetsky <iliaa@php.net> | 2004-01-14 21:17:09 +0000 |
| commit | b3853af0b7509d135b84e22e8caa3141ba5d9422 (patch) | |
| tree | ba589f4019a0c61498d3869e6e95dca21713f1f8 /ext/sqlite/tests | |
| parent | 8a40a946dead2672a3a5593183ca7d1a7736297e (diff) | |
| download | php-git-b3853af0b7509d135b84e22e8caa3141ba5d9422.tar.gz | |
MFH: Fixed bug #26911 (crash in sqlite extension when fetching data from
empty queries).
Diffstat (limited to 'ext/sqlite/tests')
| -rw-r--r-- | ext/sqlite/tests/bug26911.phpt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ext/sqlite/tests/bug26911.phpt b/ext/sqlite/tests/bug26911.phpt new file mode 100644 index 0000000000..e81aeae763 --- /dev/null +++ b/ext/sqlite/tests/bug26911.phpt @@ -0,0 +1,10 @@ +--TEST-- +Bug #26911 (crash when fetching data from empty queries) +--FILE-- +<?php + $db = sqlite_open(":memory:"); + $a = sqlite_query($db, " "); + echo "I am ok\n"; +?> +--EXPECT-- +I am ok |
