1
0
mirror of https://github.com/php/php-src.git synced 2026-04-27 18:23:26 +02:00
Commit Graph

85 Commits

Author SHA1 Message Date
Stanislav Malyshev e145ab54da attempt to fix double free on failed query 2004-05-16 16:34:27 +00:00
Stanislav Malyshev 49a1413f50 add sqlite_exec - now to the right tag 2004-05-13 14:54:55 +00:00
Marcus Boerger 247f707d55 MFH 2004-04-22 22:52:54 +00:00
Ilia Alshanetsky 437c556926 MFH: Fixed bug #28112 (Empty queries may result in crashes). 2004-04-22 22:36:14 +00:00
Ilia Alshanetsky f9073ef5a0 MFH: Open basedir & safe_mode exception when copying or attaching to a
memory only database.
2004-04-11 18:53:36 +00:00
Ilia Alshanetsky 230aea0ff8 MFH: Corrected string escape calculation. 2004-03-07 21:58:19 +00:00
Ilia Alshanetsky 8080b6bbd3 MFH: Fixed possible crash inside sqlite_escape_string() and
sqlite_udf_encode_binary().
2004-02-27 00:30:45 +00:00
Edin Kadribasic 16a02bafc2 Not everybody has this ;) 2004-01-17 00:29:37 +00:00
Marcus Boerger 96320611a3 Fix shutdown 2004-01-15 21:29:04 +00:00
Ilia Alshanetsky ed150e2312 MFH: Fixed bug #26911 (crash in sqlite extension when fetching data from
empty queries).
2004-01-14 21:19:48 +00:00
Marcus Boerger 879184bd6d Fixed Bug #25329 sqlite_create_function with method and reference to $this 2003-12-27 22:20:56 +00:00
Ilia Alshanetsky 02de761345 MFH: do not mangle column names. 2003-12-14 18:47:14 +00:00
Marcus Boerger 05910c2415 # Wez, your whish is my command 2003-08-12 21:29:57 +00:00
Marcus Boerger 5a482f71e3 MFH: Bugfix #25056 2003-08-12 21:25:56 +00:00
Wez Furlong bcd4c34c9b MFH TSRMLS fix 2003-07-14 19:36:19 +00:00
Wez Furlong 8f8421714b A much better fix for the popen problem
# no thanks to Jolt Cola
2003-07-13 09:20:05 +00:00
Wez Furlong c987b05b70 Fix bug #24575 (sqlite_popen did not request a new resource id when persistent
handles were re-used within a request).
2003-07-13 08:49:07 +00:00
Marcus Boerger 058c419fd2 MFH: Fix bug #24540 2003-07-08 18:58:59 +00:00
Marcus Boerger fd987209eb (MFH) fix warnings 2003-06-26 21:30:17 +00:00
Marcus Boerger a01c31f949 MFH: Rename sqlite_fetch_string() to sqlite_fetch_single() + alias 2003-06-26 21:10:10 +00:00
Marcus Boerger f38261cb0d MFH: fix memleak 2003-06-26 21:03:12 +00:00
Ilia Alshanetsky 0d9e627878 MFH: zts typo 2003-06-26 13:40:25 +00:00
Edin Kadribasic dd1ee78e9e SQLite PHP_4_3 is dead. Long live SQLite PECL_4_3! 2003-06-26 12:11:29 +00:00
Marcus Boerger 30b4f8f494 Fix a warning 2003-06-25 23:21:10 +00:00
Ilia Alshanetsky 0dc20e8bea ZTS typo 2003-06-25 23:14:19 +00:00
Sterling Hughes 12b06799ae Don't pass resource as an argument when its not being parsed. 2003-06-25 17:22:31 +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 9d6f63ef71 Remove sqlite::close() 2003-06-22 19:00:44 +00:00
Marcus Boerger f2d26fc85d Add oo API 2003-06-22 17:19:46 +00:00
Wez Furlong 3a550b3c8c Prepare for 1.0 release 2003-06-21 13:29:26 +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
Wez Furlong 425882ef70 Some tweaks ready for the upcoming 1.0 release. 2003-06-19 20:57:11 +00:00
Wez Furlong 20ee07ef92 Should build with PHP5 now... 2003-06-18 19:48:02 +00:00
Marcus Boerger 8f2b387c61 - Update license
- Don't buffer in non buffered mode
2003-06-14 18:16:47 +00:00
Marcus Boerger e1652789ea - Add sqlite_array_query().
- Make all read functions destructive when in unbuffered read mode.
2003-06-09 23:14:25 +00:00
Ilia Alshanetsky d3ad6e640d Do not perform safe_mode & open_basedir checks for memory-only databases. 2003-06-09 20:36:55 +00:00
Marcus Boerger eccfbe5f88 WS 2003-06-07 11:38:03 +00:00
Wez Furlong 30fc9e152f Update bundled library to 2.8.3 + patches from sqlite author to enable
authorization checks for the ATTACH database command.
2003-06-06 22:44:57 +00:00
Marcus Boerger 797654bde7 New fetch_all() an fetch optimization reworked (original idea by ilia) 2003-06-06 19:00:16 +00:00
Wez Furlong 80e7f7001d Update bundled library to version 2.8.2.
Make OnUpdateInt compatible with ZE2.
Fix the makefile fragment for non-gnu makes
2003-06-04 22:40:00 +00:00
Wez Furlong 82a1818fde Revert accidental commit from marcus. 2003-06-04 21:11:45 +00:00
Marcus Boerger b70cf40742 Goodbye namespaces 2003-06-04 20:54:48 +00:00
Wez Furlong 1a521e5ab6 Prep for next release 2003-05-14 13:05:22 +00:00
Ilia Alshanetsky f1c20d3b55 Added sqlite_fetch_string(), for speedy fetching of data from database
cursor containing only a single column.
2003-05-13 23:51:25 +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 0c11675902 Fix MFN error (now really) 2003-05-02 22:22:16 +00:00
Marcus Boerger b8c5cd2a9d Fix MFN error 2003-05-02 22:17:01 +00:00
Marcus Boerger 7a17b23190 Add iterator interface and test 2003-05-02 22:09:54 +00:00
Marcus Boerger 2c2774c204 Don't return table names 2003-05-01 13:20:22 +00:00