Commit Graph

241 Commits

Author SHA1 Message Date
Scott MacVicar
735b3423a9 Update bundled SQLite to 3.7.6.2 2011-05-13 06:11:06 +00:00
Adam Harvey
a7dbf5a29e Fix bug #54692 (SQLite3::open() Return Value) by correcting the SQLite3::open()
prototype.
2011-05-10 08:14:55 +00:00
Adam Harvey
a642b52295 Fix bug #54692 (SQLite3::open() Return Value) by correcting the SQLite3::open()
prototype.
2011-05-10 08:14:55 +00:00
Felipe Pena
29a82ceb56 - Fixed memory leak on SQLite3Result and SQLite3Stmt when assigning to a reference. 2011-01-07 01:11:16 +00:00
Felipe Pena
d3e6f27a76 - Fixed memory leak on SQLite3Result and SQLite3Stmt when assigning to a reference. 2011-01-07 01:11:16 +00:00
Scott MacVicar
e1c1cc0ed5 Implemented FR #53466 (SQLite3Result::columnType() should return false after all of the rows have been fetched). 2011-01-06 00:08:59 +00:00
Scott MacVicar
ef0a793fdd Implemented FR #53466 (SQLite3Result::columnType() should return false after all of the rows have been fetched). 2011-01-06 00:08:59 +00:00
Scott MacVicar
9e0c423bc4 Fix error with initialisation flag being set too early. If encryption is enabled and fails to decrypt a crash can occur.
Also fix a WS error.
2011-01-03 19:15:36 +00:00
Scott MacVicar
aff978c223 Fix error with initialisation flag being set too early. If encryption is enabled and fails to decrypt a crash can occur.
Also fix a WS error.
2011-01-03 19:15:36 +00:00
Felipe Pena
927bf09c29 - Year++ 2011-01-01 02:19:59 +00:00
Felipe Pena
0203cc3d44 - Year++ 2011-01-01 02:17:06 +00:00
Scott MacVicar
3870e58759 Add SQLite3_Stmt::readOnly for checking if a statement is read only 2010-12-31 16:37:12 +00:00
Scott MacVicar
c9c0de49a8 Add SQLite3_Stmt::readOnly for checking if a statement is read only 2010-12-31 16:37:12 +00:00
Pierre Joye
aea6771d19 - add phpize support for windows, need a nmake install for now (nmake devel-pkg version is coming), works exactly the same as on unix, or should :) 2010-12-13 18:43:10 +00:00
Pierre Joye
a7ffa09e18 - add PHP_INSTALL_HEADERS to all parts (core&exts) exposing headers, generate the install-headers cmd 2010-12-11 22:18:10 +00:00
Ilia Alshanetsky
9e48381b28 Upgraded bundled Sqlite3 to version 3.7.4. 2010-12-11 14:57:34 +00:00
Ilia Alshanetsky
19f6577720 Upgraded bundled Sqlite3 to version 3.7.4. 2010-12-11 14:57:34 +00:00
Felipe Pena
26d7aafb1a - Fixed bug #53463 (sqlite3 columnName() segfaults on bad column_number) 2010-12-03 21:05:44 +00:00
Felipe Pena
689d1d9e4b - Fixed bug #53463 (sqlite3 columnName() segfaults on bad column_number) 2010-12-03 21:05:44 +00:00
Pierre Joye
ce96fd6b07 - fix #39863, do not accept paths with NULL in them. See http://news.php.net/php.internals/50191, trunk will have the patch later (adding a macro and/or changing (some) APIs. Patch by Rasmus 2010-11-18 15:22:22 +00:00
Patrick Allaert
817776d1b9 - Fixed tests not passing under windows because of the directory separator
difference (thanks Eyal Teutsch for reporting)
2010-11-08 09:29:15 +00:00
Patrick Allaert
e2e76d40e3 - Fixed tests not passing under windows because of the directory separator
difference (thanks Eyal Teutsch for reporting)
2010-11-08 09:29:15 +00:00
Ilia Alshanetsky
8a2a6dbe21 Upgraded bundled sqlite to version 3.7.3 2010-10-20 19:27:34 +00:00
Ilia Alshanetsky
96c769f602 Upgraded bundled sqlite to version 3.7.3 2010-10-20 19:27:34 +00:00
Ilia Alshanetsky
fe07ed4b42 Upgraded bundled Sqlite3 to version 3.7.0.1 2010-08-14 14:44:39 +00:00
Ilia Alshanetsky
842bc947e2 Upgraded bundled Sqlite3 to version 3.7.0.1 2010-08-14 14:44:39 +00:00
Johannes Schlüter
08e1471c16 Install SQLite3 header 2010-06-23 15:11:02 +00:00
Johannes Schlüter
f3e6597500 Install SQLite3 header 2010-06-23 15:11:02 +00:00
Ilia Alshanetsky
6b990988f1 MFB: Implemented FR #51295 (SQLite3::busyTimeout not existing). (Mark) 2010-06-21 11:06:31 +00:00
Pierre Joye
bd8d42729f - #51295, SQLite3::busyTimeout not existing 2010-06-20 15:30:49 +00:00
Ilia Alshanetsky
f7d82d0e0d Fixed bug #52010 (open_basedir restrictions mismatch on vacuum command). 2010-06-09 16:04:54 +00:00
Ilia Alshanetsky
b643e123ee Fixed bug #52010 (open_basedir restrictions mismatch on vacuum command). 2010-06-09 16:04:54 +00:00
Johannes Schlüter
d7b1fa9d35 Berkeley DB 5's SQL frontend gives a slightly different error than libsqlite 2010-06-01 16:39:36 +00:00
Johannes Schlüter
3a5323e9ee Berkeley DB 5's SQL frontend gives a slightly different error than libsqlite 2010-06-01 16:39:36 +00:00
Dmitry Stogov
c5237d82bf Added caches to eliminate repeatable run-time bindings of functions, classes, constants, methods and properties 2010-05-24 14:11:39 +00:00
Kalle Sommer Nielsen
cb30330800 Merge safe_mode changes into extensions that are in sync in both branches 2010-04-26 23:55:03 +00:00
Kalle Sommer Nielsen
dd8e59da8f Removed safe_mode
* Removed ini options, safe_mode*
 * Removed --enable-safe-mode --with-exec-dir configure options on Unix
 * Updated extensions, SAPI's and core
 * php_get_current_user() is now declared in main.c, thrus no need to include safe_mode.h anymore
2010-04-26 23:53:30 +00:00
Ilia Alshanetsky
658fe1d0c3 Upgraded bundled sqlite to version 3.6.23.1 2010-03-30 11:52:25 +00:00
Ilia Alshanetsky
005df4f01f Upgraded bundled sqlite to version 3.6.23.1 2010-03-30 11:52:25 +00:00
Ilia Alshanetsky
7e79b2684a Upgraded bundled sqlite to version 3.6.22. 2010-01-19 12:38:55 +00:00
Sebastian Bergmann
9ba1e81665 sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php 2010-01-03 09:23:27 +00:00
Ilia Alshanetsky
752b9fde5a Upgraded to Sqlite 3.6.21 2009-12-08 13:24:27 +00:00
Felipe Pena
a94558c855 - Added MAKE_COPY_ZVAL(ppzv, pzv) macro 2009-12-08 01:57:37 +00:00
Ilia Alshanetsky
6585a5af32 Upgraded bundled sqlite to version 3.6.20 2009-11-09 01:54:23 +00:00
Scott MacVicar
cd5e3b1632 Add metadata support to the bundled version of libsqlite on Windows, part of bug #49206.
Will commit the new feature part separately.
2009-10-16 02:22:48 +00:00
Scott MacVicar
5af006d640 Update libsqlite to 3.6.19 2009-10-16 01:56:36 +00:00
Ilia Alshanetsky
f611b66025 Upgraded bundled sqlite to version 3.6.18. 2009-09-15 16:54:11 +00:00
Scott MacVicar
f8d8723ff1 Update libsqlite to 3.6.17. 2009-08-11 22:22:21 +00:00
Zoe Slattery
4e0b75042a fix tests 2009-07-17 09:28:19 +00:00
Scott MacVicar
ded5d566ad MFH Upgrade libsqlite to 3.6.16, fixes a possible error with triggers 2009-06-30 11:17:14 +00:00
Scott MacVicar
532674945c MFH sync SQLite 3.6.15 2009-06-15 13:23:59 +00:00
Scott MacVicar
40521699ce MFH make SQLite3::enableExceptions() return the previous value. 2009-06-08 02:15:54 +00:00
Kalle Sommer Nielsen
80bc751be1 This shouldn't have been in there 2009-05-31 11:16:46 +00:00
Scott MacVicar
0062120464 MFH sync SQLite 3.6.14.2 2009-05-28 03:20:33 +00:00
Kalle Sommer Nielsen
e45cdba580 MFH: Previous commit was an old version of the patch, PHP_ZTS is not a boolean but the behaviour is still correct 2009-05-22 19:47:15 +00:00
Kalle Sommer Nielsen
3de5c79f73 MFH: Don't build SQLite threadsafe on NTS builds 2009-05-22 19:41:15 +00:00
Kalle Sommer Nielsen
4d855122a5 MFH: Fix test on Windows 2009-05-22 18:27:38 +00:00
Kalle Sommer Nielsen
7852108cce MFH: Added missing SKIPIF 2009-05-22 18:22:30 +00:00
Ilia Alshanetsky
37609844de Warning fix 2009-05-19 18:42:08 +00:00
Ilia Alshanetsky
8f7b7495f2 Upgraded to 3.6.14.1 2009-05-19 18:32:46 +00:00
Hannes Magnusson
ebf4c8ddb8 Fix test 2009-05-18 13:52:16 +00:00
Felipe Pena
b5cec43162 - New tests (testfest BelgiumUG) 2009-05-17 16:51:59 +00:00
Antony Dovgal
c4cf7a858d MFH: fix ZTS build 2009-05-08 07:58:19 +00:00
Felipe Pena
bb31072d3e - Fix build 2009-05-07 22:42:46 +00:00
Scott MacVicar
81e3b74188 Print warning when using loadExtension on non cli, cgi and embeded 2009-05-07 16:49:26 +00:00
Ilia Alshanetsky
9861f86c9f Fixed compiler warning 2009-05-07 12:39:26 +00:00
Scott MacVicar
e718846c5b MFH Update bundled libsqlite to 3.6.14 2009-05-07 11:27:45 +00:00
Scott MacVicar
d13c028689 MFH Add the ability to enable exceptions rather than warnings for sqlite3, needed for pyrus. 2009-04-27 18:16:46 +00:00
Ilia Alshanetsky
175a85dd6c Upgrade to SQLite 3.6.13 2009-04-13 15:14:55 +00:00
Scott MacVicar
aeddac4a1a MFH Update libsqlite to 3.6.12 2009-03-31 14:20:08 +00:00
Scott MacVicar
b64b74fe9f MFH Fix bug #47826 - Building with system sqlite3 can miss a symbol. 2009-03-29 21:34:13 +00:00
Scott MacVicar
bc486b4c7e MFH Fix bug #47678 - Allow loadExtension to be disabled in SQLite3 2009-03-17 02:45:12 +00:00
Ilia Alshanetsky
bdb3d4320e Removed unused var 2009-02-18 20:07:40 +00:00
Scott MacVicar
61f2e99ea7 MFH: Update bundled SQLite to 3.6.11 2009-02-18 12:39:43 +00:00
Scott MacVicar
037400bbeb The constructor should also throw exceptions, make this semi useful now. 2009-02-10 00:24:33 +00:00
Scott MacVicar
3a25c34a01 Fix build on Windows 2009-01-28 23:58:09 +00:00
Antony Dovgal
8e2c587a51 fix build 2009-01-24 13:08:04 +00:00
Scott MacVicar
4159f91181 MFH Add blobOpen method for reading binary blobs via streams. 2009-01-24 12:17:47 +00:00
Scott MacVicar
5b79c37500 MFH Fix bug #47159 - Any SQLite3 statement prepared should be added to the freelist 2009-01-20 09:57:34 +00:00
Scott MacVicar
4b02b12f54 MFH Fix bug #47145 - As soon as sqlite3_step is called on a statement it always must be finalised. 2009-01-20 00:24:13 +00:00
Scott MacVicar
6d406ccedf Fixed bug #47141 - Unable to fetch error messages after the database can't be opened. 2009-01-19 22:43:58 +00:00
Ilia Alshanetsky
a0a31f3998 Upgraded bundled sqlite3 to 3.6.10 2009-01-18 18:01:53 +00:00
Scott MacVicar
efaba65cf5 MFH Add table key to getColumnMeta() with SQLite 2009-01-13 02:50:54 +00:00
Scott MacVicar
dba82da304 MFH Fix building of pdo_sqlite without sqlite3 2009-01-12 19:03:07 +00:00
Scott MacVicar
4bdf8de929 MFH Update sqlite to 3.6.8 2009-01-12 18:55:37 +00:00
Ilia Alshanetsky
4afe6ccc54 Upgraded libsqlite3 to 3.6.8 2009-01-12 17:13:38 +00:00
Scott MacVicar
cb4d76b505 Fix bug #47055 - When intl is shared dont enable icu support in SQLite3 2009-01-10 01:46:55 +00:00
Ilia Alshanetsky
96b1c50ea9 Added missing initialization 2009-01-04 16:31:12 +00:00
Felipe Pena
08a25290e7 MFH:
- Removed unnecessary repeated arginfos
- Changed sqlite3stmt and sqlite3result to ZEND_ACC_PRIVATE to avoid reflection instantiation
2009-01-03 22:08:38 +00:00
Sebastian Bergmann
08659c2dcd MFH: Bump copyright year, 3 of 3. 2008-12-31 11:15:49 +00:00
Scott MacVicar
3fb7f05991 MFH Stop using sqlite3_aggregate_count() as this is now deprecated. 2008-12-24 19:22:16 +00:00
Scott MacVicar
178e0c726e MFH Enable ICU support within bundled SQLite if intl is enabled but not shared. 2008-12-22 16:43:21 +00:00
Scott MacVicar
3c1e53deb4 MFH Patch has the wrong filename 2008-12-22 13:26:25 +00:00
Scott MacVicar
366fe43d79 MFH SQLite 3.6.7 plus a vc6 backport for LL 2008-12-22 13:22:25 +00:00
Felipe Pena
9983e2689a - MFH: Fixed memory leaks in createFunction and createAggregate methods 2008-11-28 15:37:02 +00:00
Dmitry Stogov
7d4fd3fd38 Fixed bug #46409 (__invoke method called outside of object context when using array_map) 2008-11-27 19:01:23 +00:00
Scott MacVicar
b388624d7d MFH Update libsqlite to 3.6.6.2 2008-11-27 08:46:13 +00:00
Antony Dovgal
a9132bb75f fix test 2008-11-26 11:30:48 +00:00
Ilia Alshanetsky
87f1f82677 Upgraded bundled sqlite to version 3.6.6.1 2008-11-25 23:50:42 +00:00
Scott MacVicar
74ee87a631 MFH Patch file for sqlite3 amalgamation so things don't get missed. 2008-11-22 15:44:21 +00:00
Pierre Joye
b2e419ef40 - Fix windows build
please keep the fixes while merging the new versions.
   if the updates do not contain the fixes, create a little todo list so it is
   not forgotten (wiki)
2008-11-22 13:41:21 +00:00
Scott MacVicar
2d73897856 MFH Update libsqlite to 3.6.6 2008-11-22 11:06:04 +00:00
Pierre Joye
2295b682a4 - MFH: declarations must be.. 1st 2008-11-20 10:22:55 +00:00
Etienne Kneuss
3919b16f04 MFH: Fix #46241 (stacked error_handlers, error_handling in general) 2008-11-19 02:00:53 +00:00
Pierre Joye
c213742fe2 - MFH: declaration has to be first... 2008-11-18 14:27:09 +00:00
Scott MacVicar
cd3f5c1fa7 MFH Fix #46033 - Segfault when instantiating SQLite3stmt and SQLite3Result directly. 2008-11-17 19:34:03 +00:00
Scott MacVicar
0fab3f5b68 MFH Sync libsqlite to 3.6.5 2008-11-17 17:13:55 +00:00
Felipe Pena
fc2fb50d09 - MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro 2008-11-17 11:28:01 +00:00
Felipe Pena
7a37fa2d6b - Revert ZEND_BEGIN_ARG_INFO change 2008-11-02 21:19:39 +00:00
Felix De Vliegher
bdda0cff3f MFH: Tests for SQLite3Stmt::paramCount(). 2008-10-29 22:36:19 +00:00
Felipe Pena
df10005563 - MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro 2008-10-24 14:35:40 +00:00
Scott MacVicar
3d61571709 Disable optimizations at the moment for libsqlite on VC6 with the amalgamation, will most likely need to track down what particular function is causing problems or consider setting the flags to /O1 for libsqlite specifically. 2008-10-14 09:56:25 +00:00
Scott MacVicar
14982115cd MFH: SQLite3::escapeString can be static as it doesn't rely on an instance of SQLite 2008-09-30 11:14:48 +00:00
Pierre Joye
f6b2e89ea6 - fix VC6 build 2008-09-20 23:10:16 +00:00
Scott MacVicar
52695ff939 MFH: Sync libsqlite to 3.6.2 with some VC6 patches 2008-09-15 01:22:06 +00:00
Scott MacVicar
8b912cc49c Fixed bug #46033 (Segfault when instantiating SQLite3Stmt and SQLite3Result) 2008-09-15 00:55:37 +00:00
Pierre Joye
a7dccf7d9d - attempt to fix unexpected EOF on line 391/6 2008-08-15 19:56:06 +00:00
Felipe Pena
9f40f81543 - MFH: Fixed bug #45798 (sqlite3 doesn't notice if variable was bound) 2008-08-12 13:37:32 +00:00
Scott MacVicar
3c728afb54 MFH: Sync libsqlite to 3.6.1 2008-08-06 14:22:10 +00:00
Scott MacVicar
09582a712f MFH: Fix test on Windows 2008-08-06 14:07:37 +00:00
Elizabeth Marie Smith
37d23600bf Some fancy detection for sqlite3 and pdo_sqlite3 - so the two extensions don't depend on each other if shared, and don't try to put two versions of the sqlite3 lib if static 2008-08-05 20:16:21 +00:00
Jani Taskinen
b17dc14f18 MFH: nuketh C++ comments 2008-08-03 12:15:55 +00:00
Felipe Pena
e304515ddb - MFH: Added parameter TSRMLS_DC in zend_is_callable() 2008-08-02 04:46:07 +00:00
Antony Dovgal
617ab865a0 MFH: fix int<->long mess causing lots of segfaults on x86_64 2008-08-01 08:27:56 +00:00
Hannes Magnusson
f8f406208b Fix skipif (altough I can't find any such method in the source..?) 2008-08-01 08:01:31 +00:00
Scott MacVicar
0d2f16d3d0 Make pdo_sqlite use the bundled extension with sqlite3 (pdo_sqlite gets fts!)
Fix test after class rename
2008-07-31 23:25:39 +00:00
Scott MacVicar
d9509f7a6d Class rename to match Coding Standards 2008-07-31 22:30:26 +00:00
Hannes Magnusson
a31dc0ccd0 Which means do not include.., thanks Jani :) 2008-07-31 22:30:25 +00:00
Hannes Magnusson
f2d88b3efa Say without, since its enabled by default 2008-07-31 22:28:51 +00:00
Scott MacVicar
9abe173e8c Enable by default and fix compile error 2008-07-31 22:24:05 +00:00
Scott MacVicar
00788aa163 Fix test 2008-07-31 17:13:31 +00:00
Scott MacVicar
76cf0f6e6b Stray RETURN_TRUE value 2008-07-31 16:31:12 +00:00
Scott MacVicar
2b040f2d66 MFH: Add freelist for tracking sqlite statements to free on implicit SQLite3::close() 2008-07-29 00:56:53 +00:00
Scott MacVicar
b8744bf3c9 Fix error when fetchArray reaches the last row, and prototyp error 2008-07-28 23:01:02 +00:00
Jani Taskinen
7a70ad4502 - Fix EOLs 2008-07-28 11:59:35 +00:00
Jani Taskinen
9218157548 MFH: fix build 2008-07-26 23:58:06 +00:00
Jani Taskinen
96ea7313a6 MFH: build fixes, cs, ws, etc. 2008-07-26 23:42:53 +00:00
Jani Taskinen
d448b6b70d - No tabs. 2008-07-26 22:14:52 +00:00
Jani Taskinen
fd3b5bcc5a - Fix description 2008-07-25 12:04:54 +00:00
Jani Taskinen
213fd450fa - No tabs, fix indent in configure --help 2008-07-25 12:01:47 +00:00
Scott MacVicar
d584ed4a01 SQLite3 extension, still has 2 failing tests that will be sorted tomorrow. Will merge to head tomorrow as well. 2008-07-25 02:44:59 +00:00