summaryrefslogtreecommitdiff
path: root/ext/sqlite
Commit message (Collapse)AuthorAgeFilesLines
* More testsMarcus Boerger2003-04-271-0/+33
|
* 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
|
* Add more testsMarcus Boerger2003-04-273-0/+131
|
* win32 fixesWez Furlong2003-04-222-1/+10
|
* Fix the extension...Wez Furlong2003-04-221-28/+28
| | | | | # guess which extension I copied this from??
* Add windows .dsp and some kludgy pre-generated headers.Wez Furlong2003-04-224-0/+1017
|
* 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-222-3/+5
| | | | | | | | 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-222-0/+48
| | | | | | | 0 - Make no changes to the keys in the associative array 1 - Change the keys to uppercase 2 - Change the keys to lowercase
* Prepare for release.Wez Furlong2003-04-211-11/+13
|
* Tidy up package.xml file.Wez Furlong2003-04-202-24/+19
| | | | | | | Cleaner approach for setting THREADSAFE and NDEBUG for bundled libsqlite. Tested with: static, shared and shared with separate build roots under a non-zts build only.
* Eliminate leaks from registering plain or aggregate functions.Wez Furlong2003-04-202-36/+151
| | | | | | | 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.
* Revise todoWez Furlong2003-04-201-0/+6
|
* Implement sqlite_create_function(), which allows binding of php functions byWez Furlong2003-04-204-5/+161
| | | | | | | | | | | | | 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
|
* typoTal Peer2003-04-201-2/+2
|
* UpdateTal Peer2003-04-205-5/+10
|
* Add test for aggregatesWez Furlong2003-04-201-0/+45
|
* Implement sqlite_create_aggregate() which can be used to create aggregationWez Furlong2003-04-202-0/+168
| | | | | functions for use in SQL statements.
* Kluge, but it seems to work now in both phpize and bundled builds.Edin Kadribasic2003-04-201-5/+17
| | | | | Only in there until Wez fixes it for real.
* Reinstating these two items due to the fact that current config.m4Edin Kadribasic2003-04-201-0/+5
| | | | | | detection for debug and thread-safe build does not work if sqlite is built as a standalone extension with phpize.
* Erm, this works much better :)Edin Kadribasic2003-04-201-1/+1
|
* Set appropriate flags when compiling bundled lib in thread-safeEdin Kadribasic2003-04-202-6/+10
| | | | | and debug modes.
* More things todoWez Furlong2003-04-191-0/+5
|
* Transparently decode binary encoded data.Wez Furlong2003-04-193-13/+90
| | | | | | | | | | | 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.
* Little fix for people building sqlite as a static extensionWez Furlong2003-04-191-0/+6
|
* Add test for different result representationsMarcus Boerger2003-04-191-0/+49
|
* Fix 2 potential segfaults.Wez Furlong2003-04-191-3/+4
|
* Improve test environment, fix 001.phpt and rename that one, also change from ↵Marcus Boerger2003-04-183-5/+8
| | | | /tmp to dirname(__FILE__)
* Add a first simple open/close testMarcus Boerger2003-04-181-0/+14
|
* ZTS fixesMarcus Boerger2003-04-181-0/+4
|
* First "real" test.Wez Furlong2003-04-182-17/+31
| | | | | If anyone is motivated to write more tests, please do so.
* done: persistent connectionsWez Furlong2003-04-181-2/+0
|
* Implement sqlite_popen(), which opens persistent connections to an sqliteWez Furlong2003-04-182-38/+177
| | | | | | | | | | | | | | 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.
* Update todoWez Furlong2003-04-181-3/+2
|
* Implement sqlite_unbuffered_query(), which works similarly to the mysqlWez Furlong2003-04-183-32/+235
| | | | | | | | | 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-173-22/+81
| | | | | | | | 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-172-3/+5
|
* and one moreWez Furlong2003-04-171-0/+2
|
* Add another todoWez Furlong2003-04-171-0/+2
|
* Update TODO.Wez Furlong2003-04-171-1/+5
|
* Add safe_mode and open_basedir checks for the COPY SQL statement.Wez Furlong2003-04-171-0/+26
|
* Update for new releaseWez Furlong2003-04-171-2/+11
|
* WSWez Furlong2003-04-171-1/+1
|
* NULL columns are NULL pointersWez Furlong2003-04-171-2/+10
|