summaryrefslogtreecommitdiff
path: root/ext/sqlite/php_sqlite.h
Commit message (Collapse)AuthorAgeFilesLines
* Implement sqlite_popen(), which opens persistent connections to an sqliteWez Furlong2003-04-181-0/+1
| | | | | | | | | | | | | | database file. (This saves the cost of sqlite reading/parsing the indices). Persistent db connections have any pending transactions rolled back at request shutdown time. (non-persistent connections are automatically rolled back when they are closed). Enhance sqlite_query() and sqlite_unbuffered_query() to use the C api sqlite_exec() when the PHP script does not use the return value. This avoids the extra work and memory allocation for holding result sets when they are not needed.
* Implement sqlite_unbuffered_query(), which works similarly to the mysqlWez Furlong2003-04-181-0/+1
| | | | | | | | | 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.
* Add two new functions:Wez Furlong2003-04-171-0/+3
| | | | | | | | int sqlite_last_error($db) -- returns error code from last query string sqlite_error_string(int code) -- returns english description of an error code.
* Implement sqlite_busy_timeout() which sets the retry timeout (in milliseconds)Wez Furlong2003-04-171-0/+2
| | | | | when multiple processes attempt to lock and update the database.
* Implement sqlite_escape_string() function.Wez Furlong2003-04-171-2/+4
|
* This commit was generated by cvs2svn to compensate for changes in r123706,Wez Furlong2003-04-171-0/+74
which included commits to RCS files with non-trunk default branches.