mirror of
https://github.com/php/php-src.git
synced 2025-08-16 14:08:47 +02:00
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.
This commit is contained in:
parent
bd77233ee3
commit
8ed14ff16f
3 changed files with 239 additions and 36 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue