summaryrefslogtreecommitdiff
path: root/ext/sqlite/sqlite.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Update bundled library to version 2.8.2.Wez Furlong2003-06-041-3/+10
| | | | | | Make OnUpdateInt compatible with ZE2. Fix the makefile fragment for non-gnu makes
* Revert accidental commit from marcus.Wez Furlong2003-06-041-530/+101
|
* Goodbye namespacesMarcus Boerger2003-06-041-101/+530
|
* Prep for next releaseWez Furlong2003-05-141-1/+1
|
* Added sqlite_fetch_string(), for speedy fetching of data from databaseIlia Alshanetsky2003-05-131-0/+51
| | | | | cursor containing only a single column.
* - Indendation fixMarcus Boerger2003-05-031-6/+85
| | | | | | - Proto fix - Add efficient single column access function: sqlite_column()
* Fix MFN error (now really)Marcus Boerger2003-05-021-1/+2
|
* Fix MFN errorMarcus Boerger2003-05-021-7/+6
|
* Add iterator interface and testMarcus Boerger2003-05-021-96/+181
|
* Don't return table namesMarcus Boerger2003-05-011-7/+11
|
* Allow both parameter orderingsMarcus Boerger2003-04-301-1/+3
|
* Allow to set result_type default for each queryMarcus Boerger2003-04-301-4/+13
|
* Seems like a better fix..Wez Furlong2003-04-271-8/+4
|
* More safe_emalloc()Marcus Boerger2003-04-271-3/+7
|
* WS, plus default: would prevent case SQLITE_DONE: in php_sqlite_fetch().Wez Furlong2003-04-271-16/+17
|
* Enable some more functions with unbuffered queriesMarcus Boerger2003-04-271-107/+118
|
* win32 fixesWez Furlong2003-04-221-0/+9
|
* Add windows .dsp and some kludgy pre-generated headers.Wez Furlong2003-04-221-0/+1
|
* I will use my brain properly next timeWez Furlong2003-04-221-1/+1
|
* allow sqlite_query() to accept the query string and database resource inWez Furlong2003-04-221-2/+4
| | | | | | | | either order. Forgot to bump the package version number displayed by phpinfo()... Bump to 0.9a
* Added sqlite.assoc_case ini entry with 0 as the default value.Edin Kadribasic2003-04-221-0/+44
| | | | | | | 0 - Make no changes to the keys in the associative array 1 - Change the keys to uppercase 2 - Change the keys to lowercase
* Eliminate leaks from registering plain or aggregate functions.Wez Furlong2003-04-201-32/+144
| | | | | | | Also, reduce (probably eliminate) the risk of a segfault when registering a callback on a persistent connection and later triggering the callback from a different script.
* Implement sqlite_create_function(), which allows binding of php functions byWez Furlong2003-04-201-3/+104
| | | | | | | | | | | | | name; this is a higher performance alternative to the generic php() SQL function. (saves parsing the additional function call in the SQL and a call to zend_is_callable on each function invocation). Add test for sqlite_create_function(). Fixup proto for sqlite_create_aggregate(). Tweak package file and speling in header file.
* Remove rendundant functionTal Peer2003-04-201-14/+0
|
* UpdateTal Peer2003-04-201-1/+2
|
* Implement sqlite_create_aggregate() which can be used to create aggregationWez Furlong2003-04-201-0/+166
| | | | | functions for use in SQL statements.
* Transparently decode binary encoded data.Wez Furlong2003-04-191-12/+45
| | | | | | | | | | | Add a test-case for that process. When encoding binary data, we mark the string with \x01 as its first character. When returning data via sqlite_fetch_array(), if the first character is \x01, then we decode the encoding. This behaviour can be turned off by the optional last parameter to sqlite_fetch_array(), for compatibility with databases created with other applications.
* Fix 2 potential segfaults.Wez Furlong2003-04-191-3/+4
|
* ZTS fixesMarcus Boerger2003-04-181-0/+4
|
* 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.