Commit Graph

210 Commits

Author SHA1 Message Date
Ilia Alshanetsky
4ef26e2379 Fixed memset usage (identified by coverity) 2011-08-10 15:30:07 +00:00
Ilia Alshanetsky
d73bad2f93 Fixed memset usage (identified by coverity) 2011-08-10 15:30:07 +00:00
Ilia Alshanetsky
38f05cc775 Fixed memset usage (identified by coverity) 2011-08-10 15:30:07 +00:00
Scott MacVicar
27d50d6470 Update SQLite3 to the latest version 2011-08-09 07:31:34 +00:00
Scott MacVicar
7402dee014 Update SQLite3 to the latest version 2011-08-09 07:31:34 +00:00
Scott MacVicar
929e0f185c Update SQLite3 to the latest version 2011-08-09 07:31:34 +00:00
Joey Smith
b61ea14729 Fix an unchecked return - change was back-migrated
from version 3.7.6.3 of sqlite.c from upstream.
2011-08-09 06:36:47 +00:00
Rasmus Lerdorf
636c61c1d5 Not our issue, but fixing here for now and reporting upstream 2011-08-06 23:34:13 +00:00
Rasmus Lerdorf
d03961b23b Not our issue, but fixing here for now and reporting upstream 2011-08-06 23:34:13 +00:00
Rasmus Lerdorf
facfed523d Not our issue, but fixing here for now and reporting upstream 2011-08-06 23:34:13 +00:00
Felipe Pena
23e438594d - Make usage of new PHP_FE_END macro 2011-07-25 11:42:53 +00:00
Felipe Pena
4b30846b50 - Make usage of new PHP_FE_END macro 2011-07-25 11:35:02 +00:00
Felipe Pena
da376383e8 - Make usage of new PHP_FE_END macro 2011-07-25 11:35:02 +00:00
Scott MacVicar
c2ca352598 Upgrade SQLite to 3.7.6.3 2011-06-14 17:00:49 +00:00
Scott MacVicar
08e7b84b7b Upgrade SQLite to 3.7.6.3 2011-06-14 17:00:49 +00:00
Scott MacVicar
e39ed9781e Upgrade SQLite to 3.7.6.3 2011-06-14 17:00:49 +00:00
Felipe Pena
32b5f8a1a3 - Added new parameter parsing option (p - for valid path (string without null byte in the middle))
# The tests will be fixed in the next commits
2011-06-06 21:28:16 +00:00
Felipe Pena
4737910b69 - Added new parameter parsing option (p - for valid path (string without null byte in the middle))
# The tests will be fixed in the next commits
2011-06-06 21:28:16 +00:00
Scott MacVicar
66ce68e7a4 Update bundled SQLite to 3.7.6.2 2011-05-13 06:11:06 +00:00
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