diff options
author | Marcus Boerger <helly@php.net> | 2004-03-19 19:56:31 +0000 |
---|---|---|
committer | Marcus Boerger <helly@php.net> | 2004-03-19 19:56:31 +0000 |
commit | 0c8d7457c5ef70bdf2f616d2f37efa7b55be249d (patch) | |
tree | e8013bb4e911a9ced1ce4fabfce410e1954239e5 /ext/sqlite | |
parent | 3e7a8e08eb5e51d69afdc3cc28a9f157e6a8dce2 (diff) | |
download | php-git-0c8d7457c5ef70bdf2f616d2f37efa7b55be249d.tar.gz |
Make test work when user has memory limit setting
Diffstat (limited to 'ext/sqlite')
-rwxr-xr-x | ext/sqlite/tests/sqlite_027.phpt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/sqlite/tests/sqlite_027.phpt b/ext/sqlite/tests/sqlite_027.phpt index 52c17b309b..7919f2c3f7 100755 --- a/ext/sqlite/tests/sqlite_027.phpt +++ b/ext/sqlite/tests/sqlite_027.phpt @@ -3,6 +3,8 @@ sqlite: crash inside sqlite_escape_string() & sqlite_udf_encode_binary --SKIPIF-- <?php # vim:ft=php if (!extension_loaded("sqlite")) print "skip"; ?> +--INI-- +memory_limit=-1 --FILE-- <?php var_dump(strlen(sqlite_escape_string(str_repeat("\0", 20000000)))); |