Commit Graph

54 Commits

Author SHA1 Message Date
Marcus Boerger
c7c9c72d49 Update, id_l is unique 2004-01-18 21:11:55 +00:00
Marcus Boerger
90515ee22a Add spl interaction test. 2004-01-18 20:57:42 +00:00
Marcus Boerger
c1df34cae0 Update 2004-01-18 19:55:50 +00:00
Ilia Alshanetsky
b3853af0b7 MFH: Fixed bug #26911 (crash in sqlite extension when fetching data from
empty queries).
2004-01-14 21:17:09 +00:00
Wez Furlong
f83b27face fix tests for win32 2004-01-08 16:55:37 +00:00
Marcus Boerger
442c2b4eec Add a test 2003-12-28 16:26:21 +00:00
Marcus Boerger
fd7fca402b Not needed 2003-12-27 21:57:16 +00:00
Marcus Boerger
da29458469 Add new test related to bug #25329. 2003-12-27 21:45:50 +00:00
Ilia Alshanetsky
79848fa885 Added sqlite_fetch_column_types() function. 2003-12-18 21:28:00 +00:00
Ilia Alshanetsky
bebaa5b00f Do not mangle column names. 2003-12-14 18:45:37 +00:00
Ilia Alshanetsky
9165dc414e The changes() method should be that of the database object not that of
a result.
Added a test case for this bug.
2003-12-10 18:56:05 +00:00
Ilia Alshanetsky
06b528aa54 Fixed a crash in SQLite when fetching data using sqlite_fetch_object() in
a loop.
2003-12-10 01:02:20 +00:00
Wez Furlong
98f1021dd8 Make these tests work under win32 2003-12-05 13:42:04 +00:00
Edin Kadribasic
b842917d84 Made test work on windows 2003-12-05 02:12:21 +00:00
Marcus Boerger
320a87e4f9 No longer needed 2003-12-04 17:33:08 +00:00
Marcus Boerger
dcc060382a Add another test 2003-10-27 08:43:52 +00:00
Marcus Boerger
da9ce6380c Rename test 2003-10-27 08:43:25 +00:00
Marcus Boerger
9fbaa7aca5 - Make use of engine iterators 2003-10-17 17:21:56 +00:00
Marcus Boerger
421e2e9275 Go with the mess 2003-09-04 14:54:53 +00:00
Marcus Boerger
257223bdcc Match expected class and instantiated class 2003-08-28 23:30:16 +00:00
Marcus Boerger
90561350f9 Add sqlite_fetch_object() 2003-08-28 23:19:51 +00:00
Marcus Boerger
07789ebd0e Error messages show the class now 2003-08-28 23:18:38 +00:00
Wez Furlong
78e236da26 Add sqlite_has_prev, and sqlite_prev.
Patch by Jan Lehnardt <jan@php.net>
2003-07-13 09:38:33 +00:00
Marcus Boerger
959f7784e0 Don't use class_implements() for the moment 2003-07-09 17:05:09 +00:00
Marcus Boerger
bd752698cf Use --EXPECTF-- for errors 2003-07-09 17:02:42 +00:00
Marcus Boerger
ae19eb5334 Add oo version of test 2003-07-09 16:55:07 +00:00
Marcus Boerger
2ef1935c83 Add test for sqlite_seek() 2003-07-08 18:56:14 +00:00
Marcus Boerger
4608ddb5d8 MFB: Function was renamed (don't test an alias) 2003-06-26 21:37:54 +00:00
Marcus Boerger
add3674b20 Rename sqlite_fetch_string() to sqlite_fetch_single() + alias 2003-06-26 19:26:26 +00:00
Ilia Alshanetsky
94b90d0c0a Added sqlite_single_query() and it's OO equivalent single_query(). 2003-06-25 16:59:24 +00:00
Ilia Alshanetsky
28347d74bb port sqlite_array_query() fix from PHP_4_3 2003-06-23 19:37:48 +00:00
Marcus Boerger
a594c7b714 Fix test shutdown 2003-06-22 19:03:24 +00:00
Marcus Boerger
f2d26fc85d Add oo API 2003-06-22 17:19:46 +00:00
Wez Furlong
9e858102a8 Add a pair of functions to handle the binary coding used by PHP from within
UDF callbacks.

Add test for binary functions.
Fix proto.
2003-06-21 12:29:32 +00:00
Marcus Boerger
344737c24e Fix test 2003-06-14 19:42:32 +00:00
Marcus Boerger
8f2b387c61 - Update license
- Don't buffer in non buffered mode
2003-06-14 18:16:47 +00:00
Marcus Boerger
c114698445 Add a test for sqlite_array_query() 2003-06-09 23:22:00 +00:00
Marcus Boerger
25b7954dbb This is a 'fetch all' test using fetch_all() 2003-06-09 23:21:06 +00:00
Marcus Boerger
ed1a17a032 Update 2003-06-09 23:16:32 +00:00
Marcus Boerger
2e84e2ab3f Added new test 2003-06-07 14:13:36 +00:00
Marcus Boerger
815ad75c49 - Indendation fix
- Proto fix
- Add efficient single column access function: sqlite_column()
2003-05-03 12:51:13 +00:00
Marcus Boerger
7a17b23190 Add iterator interface and test 2003-05-02 22:09:54 +00:00
Marcus Boerger
a8c650d1b8 tests depend on ini option 2003-05-01 13:29:11 +00:00
Marcus Boerger
2cef4c3470 Check returned associative indexes 2003-05-01 13:18:56 +00:00
Marcus Boerger
8820a9cdcc More tests 2003-04-27 20:02:35 +00:00
Marcus Boerger
88ef12964b Add more tests 2003-04-27 11:29:39 +00:00
Wez Furlong
d40a615a8e Implement sqlite_create_function(), which allows binding of php functions by
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.
2003-04-20 13:31:36 +00:00
Wez Furlong
7360c5dfdd Add test for aggregates 2003-04-20 13:08:40 +00:00
Wez Furlong
ff0d6adda4 Transparently decode binary encoded data.
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.
2003-04-19 12:54:17 +00:00
Marcus Boerger
5f97e66ba5 Add test for different result representations 2003-04-19 10:36:58 +00:00