Commit Graph

262 Commits

Author SHA1 Message Date
Ilia Alshanetsky
b683c61e60 MFB: Re-introduce the Matteo's patch and combine default & text handling
since they appear to be the same irregardless on notes inside sqlite3.h
2009-05-20 15:05:36 +00:00
Ilia Alshanetsky
5ec5e3b5f2 The \0 removal is only needed prior to 3.4.0 2009-05-19 19:15:18 +00:00
Ilia Alshanetsky
70fb8c85f1 Revert faulty warning fix 2009-05-19 16:14:13 +00:00
Matteo Beccati
d33fecdde8 MFH
- Fixed bug #48185 removing no-op code
2009-05-07 23:29:54 +00:00
Jani Taskinen
eb190a2ef9 MFH: Fix cleanup 2009-04-25 21:44:33 +00:00
Jani Taskinen
7be492a208 MFB: Added missing SKIPIF 2009-04-25 21:38:04 +00:00
Alexey Zakhlestin
114e354048 MFH: reverted previous patch, using explicit cast instead 2009-04-01 14:35:24 +00:00
Alexey Zakhlestin
4bccb4565d MFH: const pointer was used in non-const context 2009-04-01 11:32:14 +00:00
Felipe Pena
a518082fb0 - Fix test 2009-02-20 13:39:14 +00:00
Johannes Schlüter
162aed0aed MFH: Fix #46542 Extending PDO class with a __call() function doesn't work
as expected
2009-02-17 14:42:26 +00:00
Felipe Pena
7c34d6f76b - New test 2009-02-13 02:20:52 +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
Sebastian Bergmann
08659c2dcd MFH: Bump copyright year, 3 of 3. 2008-12-31 11:15:49 +00:00
Johannes Schlüter
76b988475a MFH: Fix tests (use a in-memory database not a file called memory) 2008-12-03 11:00:31 +00:00
Felipe Pena
00cb5de0ab MFH:
- Fixed memory leaks
- Added new tests (Coverage++)
2008-12-02 21:01:37 +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
Felipe Pena
a912d80adb MFH:
- Fixed wrong check
- Improved test
2008-11-05 23:40:38 +00:00
Felipe Pena
a5e72fd696 - MFH: Improved fix 2008-11-03 23:44:38 +00:00
Felipe Pena
22147d94af - New test 2008-11-03 21:49:34 +00:00
Felipe Pena
27965c932f MFH:
- Fixed endless loop in PDOStatement::debugDumpParams()
  patch by: Jonah H. Harris <jonah.harris at gmail dot com>
2008-11-03 20:48:51 +00:00
Felipe Pena
6f81d12eb1 - Added skipif 2008-10-10 19:53:20 +00:00
Felipe Pena
cefe0f3c22 - New test 2008-10-10 19:49:42 +00:00
Elizabeth Marie Smith
f4e7f168e9 Stupid typo 2008-08-06 16:56:35 +00:00
Elizabeth Marie Smith
3324aeba8b Fix include path 2008-08-06 16:47:38 +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
Felipe Pena
e304515ddb - MFH: Added parameter TSRMLS_DC in zend_is_callable() 2008-08-02 04:46:07 +00:00
Scott MacVicar
06337965ae Still need defines so that sqlite3.h will match the lib that sqlite3 uses 2008-07-31 23:56:32 +00:00
Scott MacVicar
7065da57b7 Bundled pdo_sqlite files are no longer required 2008-07-31 23:36:47 +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
Jani Taskinen
281352fe02 MFH: Fix PDO configure dependancy: If --disable-pdo is used, disable all
MFH: enabled-by-default drivers. Also error out if you try to configure
MFH: a driver as static but pdo is disabled.
2008-07-25 13:46:24 +00:00
Scott MacVicar
ccc996f1d9 MFH: Remove non existent defines and change THREADSAFE to SQLITE_THREADSAFE 2008-07-24 14:25:33 +00:00
Scott MacVicar
797202ca1a MFH: Add .cvsignore, update config.w32 and remove the other bundled sqlite library 2008-07-24 11:33:34 +00:00
Scott MacVicar
f37a1316fe Update pdo_sqlite to use the amalgamation, much easier to upgrade / maintain. Also kill useless PECL version tag in MINFO.
Will probably be chastised by Jani for doing branch first...
2008-07-24 00:24:03 +00:00
Scott MacVicar
8cd0d59f71 This file isn't needed any more 2008-07-17 17:24:26 +00:00
Pierre Joye
41976c7ab6 - do not enable an ext when a lib/header fails
- use MESSAGE in mysql*
- use correct CFLAGS for ext/libxml headers
2008-06-23 18:40:29 +00:00
Pierre Joye
58fce3a863 - really check for the dependency, libs and header and don't enable the ext if something is missing 2008-06-22 23:17:22 +00:00
Antony Dovgal
23bb85388b fix gcov build 2008-03-10 17:26:33 +00:00
Scott MacVicar
4147031eb0 Fixed bug #41135 (When binding as binary data use sqlite3_bind_blob() to stop errors with null bytes.)
Fixed bug #42443 (Bind integers and booleans as integers rather than strings.)
2008-03-07 16:58:55 +00:00
Scott MacVicar
5a86313123 Update bundled SQLite to 3.5.6 2008-03-07 10:47:32 +00:00
Nuno Lopes
61eb7ae554 remove unused PHP_EXTNAME_API macros.
#in preparation for the gcc 4 visibility patch
2008-01-03 16:20:33 +00:00
Sebastian Bergmann
d1dded8751 MFH: Bump copyright year, 2 of 2. 2007-12-31 07:17:19 +00:00
Dmitry Stogov
6c810b0d4c Improved memory usage by movig constants to read only memory. (Dmitry, Pierre) 2007-09-27 18:00:48 +00:00
Ilia Alshanetsky
1fd7133d5a No longer experimental 2007-08-20 23:36:03 +00:00
Ilia Alshanetsky
3f1b9990a4 Fixed bug #41831 (pdo_sqlite prepared statements convert resources to
strings).
2007-08-01 22:45:31 +00:00
foobar
7ed3c4536d MFH: Fix some configure --help texts 2007-07-03 17:25:43 +00:00
foobar
76872ee86e MFH: - Fixed bug #41794 (build fails with external libs under Solaris) 2007-06-25 16:26:39 +00:00
Antony Dovgal
074b58b7f1 MFH: php_localtime_r() checks 2007-06-07 09:07:36 +00:00
Nuno Lopes
83aba2c5b9 fix gcov build....... 2007-05-17 17:57:51 +00:00
Ilia Alshanetsky
2b46d621e6 Upgraded libsqlite3 to SQLite 3.3 2007-05-16 21:04:46 +00:00
Nuno Lopes
0f99cf14c1 fix gcov build 2007-04-20 14:51:16 +00:00
Ilia Alshanetsky
111df261a5 Upgraded SQLite 3 to version 3.3.16 2007-04-18 22:53:46 +00:00
Antony Dovgal
cf440194b0 declare THREADSAFE explicitly (it's On if undefined) 2007-04-10 11:32:48 +00:00
Ilia Alshanetsky
eb8d30f912 Upgrade libsqlite 3 inside PDO sqlite to version 3.3.15 2007-04-09 16:35:11 +00:00
Wez Furlong
cbb0db124b export the module guy in the external dll version of the build 2007-03-23 14:30:00 +00:00
Wez Furlong
76329a99f0 Add php_pdo_sqlite_external.dll to windows build.
This allows the user to provide their own version of sqlite3.dll.
The php_pdo_sqlite.dll is still there, and will continue to be there.
It is built from the bundled sources.
[[DOC]]
 (this should cc: phpdoc, if it's wrong, please let the docs folks know :-)
2007-03-22 01:00:23 +00:00
Nuno Lopes
6be4ea4d97 fix gcov build (#line stuff) 2007-02-21 16:08:18 +00:00
Ilia Alshanetsky
03e5b080a3 Upgraded SQLite 3 library to version 3.3.13 2007-02-20 00:09:43 +00:00
Nuno Lopes
14a6567f09 fix build on cygwin with windows-style EOLs 2007-02-15 20:52:50 +00:00
Nuno Lopes
1bd4f5bef4 fix gcov build (#line directives) 2007-02-10 20:26:09 +00:00
Ilia Alshanetsky
d35449bbfb Upgraded SQLite 3 to version 3.3.12 2007-02-09 03:17:47 +00:00
Sebastian Bergmann
4223aa4d5e MFH: Bump year. 2007-01-01 09:36:18 +00:00
Derick Rethans
7180422fdc - Fixed bug #39935 (Extensions tidy,mcrypt,mhash,pdo_sqlite ignores
--with-libdir).
2006-12-23 17:58:47 +00:00
Rob Richards
cf4c83dd2b Fix win32 build 2006-12-06 13:18:36 +00:00
Ilia Alshanetsky
ca89b6dedd last set of zts fixes 2006-11-30 16:38:37 +00:00
Antony Dovgal
9503b966ec MFH: fix #39564 (PDO::errorInfo() returns inconsistent information when sqlite3_step() fails) 2006-11-27 12:14:09 +00:00
Antony Dovgal
8d2406f448 add missing ifdef 2006-10-04 13:02:36 +00:00
Ilia Alshanetsky
92c3cfd81f Additional expand_filepath() checks 2006-09-16 18:30:03 +00:00
Nuno Lopes
868b219a28 use relative paths, so that we dont break the lcov reports 2006-09-16 14:17:36 +00:00
Hannes Magnusson
413de3f4a5 Removed duplicated entry 2006-09-09 21:14:05 +00:00
Ilia Alshanetsky
b4da7e6672 Added missing file entry 2006-08-14 16:34:24 +00:00
Ilia Alshanetsky
e8f30d4502 Upgraded bunbled SQLite lib to 3.3.7 2006-08-14 16:15:29 +00:00
Edin Kadribasic
bbf97549b8 Remove pecl includes (Steph), except pdo_odbc which will remain broke 2006-05-11 21:43:59 +00:00
Pierre Joye
dbf2a5c65c - document the --with-pdo-sqlite[=dir] 2006-05-03 11:12:54 +00:00
Wez Furlong
30f98ae77b set min pdo dep to 1.0.3, which will be the new pecl release 2006-05-02 02:43:11 +00:00
Wez Furlong
7614368f8a prep for pecl release 2006-05-02 02:32:40 +00:00
foobar
5bd93221a8 bump year and license version 2006-01-01 12:51:34 +00:00
foobar
8d63360fc4 MFH:- Fixed bug #35377 (undefined reference to "fdatasync") 2005-12-31 00:56:06 +00:00
Antony Dovgal
c92ae847c7 add missing skipif conditions
fix existing ones
2005-12-21 11:42:06 +00:00
Ilia Alshanetsky
3450841dbe Updated libsqlite in ext/pdo_sqlite to 3.2.8. 2005-12-20 15:33:03 +00:00
Ilia Alshanetsky
5961160f95 Proper error handling for persistent connections. 2005-12-20 14:50:12 +00:00
Ilia Alshanetsky
4e09db1dbf Fixed possible memory corruption. 2005-12-19 16:33:46 +00:00
foobar
3e669bc950 MFH: nuke php3 legacy 2005-12-06 02:28:41 +00:00
Wez Furlong
17683295e4 switch to package2.xml 2005-12-04 22:34:26 +00:00
Ilia Alshanetsky
58c05c04f4 Regen files so they work properly with gcov. 2005-12-04 17:25:05 +00:00
Antony Dovgal
5a606e0be3 use || instead of -o to support weird systems with old test 2005-11-27 22:59:54 +00:00
Wez Furlong
85ad81736c set to 1.0 stable. 2005-11-26 20:50:08 +00:00
foobar
366832fbd2 MFH: Fixed wrong usage of ZEND_EXTENSION_API_NO (these are not Zend exts :) 2005-11-25 16:01:41 +00:00
Wez Furlong
0a865c89c5 prep for release 2005-11-24 22:33:20 +00:00
Antony Dovgal
1e93bb16e4 fix #35336 (crash on PDO::FETCH_CLASS + __set()) 2005-11-23 11:15:11 +00:00
Wez Furlong
38c5dd2929 prep for PECL release 2005-11-01 03:16:36 +00:00
Wez Furlong
dbc09d3325 Closes PECL Bug #5633.
Build tested with 5.0.x as PECL, 5.1 as PECL and 5.1 static
2005-11-01 03:13:32 +00:00
Ilia Alshanetsky
8b91c8f32e ZTS test fix 2005-10-18 00:17:27 +00:00
Antony Dovgal
6df490d0ca MFH: nuke warning 2005-10-03 23:48:21 +00:00
Marcus Boerger
b47525e508 - TSRM fix 2005-09-29 19:57:13 +00:00
Ilia Alshanetsky
ef04eea493 Touch generated file 2005-09-26 19:34:09 +00:00
Ilia Alshanetsky
846b0826ab MFH: upgraded bundled libsqlite3 to version 3.2.7 2005-09-26 19:33:26 +00:00
Wez Furlong
57641c166f reinstate this fix for building against PHP 5.0.x.
This works fine against PHP 5.1 too; if you revert this, you'd better have an
awesome technical reason, or I'll remove your karma.
2005-09-25 02:28:42 +00:00
foobar
2352850c52 Revert the "fix". It works fine when you use PHP_5_1 2005-09-24 23:33:58 +00:00
foobar
1536082186 fix typo 2005-09-24 23:23:25 +00:00