summaryrefslogtreecommitdiff
path: root/ext/sqlite/sqlite.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Implement sqlite_popen(), which opens persistent connections to an sqliteWez Furlong2003-04-181-38/+176
| | | | | | | | | | | | | | 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-31/+231
| | | | | | | | | 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.
* Constants for error codesWez Furlong2003-04-171-0/+28
|
* Folding markersWez Furlong2003-04-171-4/+4
|
* Add two new functions:Wez Furlong2003-04-171-22/+75
| | | | | | | | int sqlite_last_error($db) -- returns error code from last query string sqlite_error_string(int code) -- returns english description of an error code.
* Add pecl release version to phpinfo outputWez Furlong2003-04-171-2/+4
|
* Add safe_mode and open_basedir checks for the COPY SQL statement.Wez Furlong2003-04-171-0/+26
|
* WSWez Furlong2003-04-171-1/+1
|
* NULL columns are NULL pointersWez Furlong2003-04-171-2/+10
|
* Implement sqlite_busy_timeout() which sets the retry timeout (in milliseconds)Wez Furlong2003-04-171-0/+23
| | | | | when multiple processes attempt to lock and update the database.
* Segfault fixing!Wez Furlong2003-04-171-3/+5
|
* Nicer error message when an invalid function name is specified.Wez Furlong2003-04-171-2/+7
|
* Implement a php function so that the following SQL can be used:Wez Furlong2003-04-171-0/+79
| | | | | | | | | | | SELECT php('md5', sql) from sqlite_master The php function has takes the name of a php function to call as the first parameter; each additional parameter is passed on to the function, much like call_user_func(). You can call both built-in and script-defined functions in this way.
* Implement sqlite_escape_string() function.Wez Furlong2003-04-171-1/+24
|
* Implement safe_mode and open_basedir checks.Wez Furlong2003-04-171-1/+7
| | | | | Add package.xml
* This commit was generated by cvs2svn to compensate for changes in r123706,Wez Furlong2003-04-171-0/+391
which included commits to RCS files with non-trunk default branches.