summaryrefslogtreecommitdiff
path: root/ext/sqlite/php_sqlite.h
diff options
context:
space:
mode:
authorWez Furlong <wez@php.net>2003-04-18 12:22:43 +0000
committerWez Furlong <wez@php.net>2003-04-18 12:22:43 +0000
commit8ed14ff16f81dde37804e399aae523c3b1e8f4bd (patch)
tree692c22fa19d851858cf87a2752a243cb649d7b10 /ext/sqlite/php_sqlite.h
parentbd77233ee3ed622b11bb3bef6b35f2672e1c65ac (diff)
downloadphp-git-8ed14ff16f81dde37804e399aae523c3b1e8f4bd.tar.gz
Implement sqlite_unbuffered_query(), which works similarly to the mysql
function with a similar name. Change sqlite_query() to use the same mechanism as the unbuffered query; this moves the bulk of the memory allocations into the ZE memory manager, and will hopefully be more efficient and less at risk of leaks.
Diffstat (limited to 'ext/sqlite/php_sqlite.h')
-rw-r--r--ext/sqlite/php_sqlite.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/sqlite/php_sqlite.h b/ext/sqlite/php_sqlite.h
index fd4b723c80..87a33228c6 100644
--- a/ext/sqlite/php_sqlite.h
+++ b/ext/sqlite/php_sqlite.h
@@ -43,6 +43,7 @@ PHP_MINFO_FUNCTION(sqlite);
PHP_FUNCTION(sqlite_open);
PHP_FUNCTION(sqlite_close);
PHP_FUNCTION(sqlite_query);
+PHP_FUNCTION(sqlite_unbuffered_query);
PHP_FUNCTION(sqlite_fetch_array);
PHP_FUNCTION(sqlite_num_rows);