Commit Graph

225 Commits

Author SHA1 Message Date
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
Wez Furlong
4fb5b322ee 99% certain that this fixes PECL #5366 and PECL #5391. 2005-09-24 19:15:23 +00:00
Wez Furlong
3905ce46d9 Refs #34630 2005-09-24 18:55:56 +00:00
Ilia Alshanetsky
4dff36f6b4 MFH: Allow overloading of PDO constructor. 2005-09-20 19:52:24 +00:00
Wez Furlong
497c7714e6 update manifest 2005-09-11 05:46:13 +00:00
Wez Furlong
77d3a41f8a update package.xml files and version numbers, in anticipation of a big bunch of releases. 2005-09-11 05:27:30 +00:00
Wez Furlong
a55c4799aa MFH: reset the statement when closeCursor() is called. 2005-09-11 05:00:12 +00:00
Ilia Alshanetsky
084ab84411 Fixed compiler warning 2005-09-05 01:20:52 +00:00
Ilia Alshanetsky
f02aa075cb Upgraded bundled SQLite library for PDO:SQLite to 3.2.5 2005-08-28 16:54:26 +00:00
Ilia Alshanetsky
c6aae12cc1 Upgraded bundled SQLite library for PDO:SQLite to 3.2.5 (step 1) 2005-08-28 16:53:27 +00:00
foobar
23e671a51e - Bumber up year 2005-08-03 14:08:58 +00:00
Ilia Alshanetsky
4b935b9a8a Fixed sqlite build, sqlite3.h was not being correctly generated. 2005-07-29 20:41:52 +00:00
Ilia Alshanetsky
1564872062 Backport of libsqlite fix in relation to AS keyword. 2005-07-29 19:48:52 +00:00
foobar
4b0cdf8cd4 fix VPATH builds 2005-07-29 09:50:15 +00:00
Wez Furlong
a6f0d99e5b fixup the build in HEAD again... moved the maintainer only stuff out of the
config.m4 and into a separate script to make it cleaner
2005-07-27 11:53:00 +00:00
Wez Furlong
dcac8e1a44 Prep for PECL release.
Fixup config.m4 to work properly under a pear tool vpath build
# seems strange that it was so badly broken... did something major change?
2005-07-27 04:07:11 +00:00
Ilia Alshanetsky
2d920f6848 Only set authorizer if we intend to use it (safe_mode or open_basedir). 2005-07-27 02:35:37 +00:00
Ilia Alshanetsky
bc80bdb973 Added test for bug #33841. 2005-07-24 17:19:59 +00:00
Ilia Alshanetsky
66125c18a3 Fixed bug #33841 (pdo sqlite driver forgets to update affected column count
on execution of prepared statments).
2005-07-23 23:34:04 +00:00
Wez Furlong
4854dd71de this needs to be the column count, otherwise a db->query() that returns 0 rows
will fail rather than returning a statement with no rows.
2005-07-18 14:40:49 +00:00
Ilia Alshanetsky
7d1b4145b1 Fixed compiler warning. 2005-07-14 23:17:16 +00:00
Ilia Alshanetsky
d3a9f93111 cursor_closer for SQLite. 2005-07-09 04:37:27 +00:00
Ilia Alshanetsky
703c55577b Fixed memory leak, after SQLITE_DONE sqlite3_data_count() always returns 0. 2005-07-07 15:13:28 +00:00
Wez Furlong
35dbaea547 remove the old tests for pdo_sqlite 2005-07-06 06:09:13 +00:00
Wez Furlong
7b610aba35 Add a redirect test to run the common pdo core tests against the sqlite
driver
2005-07-06 06:08:53 +00:00
Ilia Alshanetsky
e614839111 touch generated file. 2005-06-30 20:59:21 +00:00
Ilia Alshanetsky
7d02c9dcb2 Upgraded bundled sqlite lib to 3.2.2 2005-06-30 20:58:36 +00:00
Marcus Boerger
5cf2c9dc45 - Add +ifdefs to still allow PHP 5.0 builds of PDO
# PDO is a PECL extension and at the moment is still meant to compile on
# both PHP 5.0 and PHP 5.1.
2005-06-23 00:19:16 +00:00
Dmitry Stogov
f47c78487b Improved PHP extension loading mechanism with support for module dependencies and conflicts 2005-06-17 09:39:23 +00:00
foobar
15cf2a60b0 - Added PHP_CHECK_PDO_INCLUDES macro (caches the result) 2005-06-14 00:00:53 +00:00
Wez Furlong
711b4e0043 implement the 'request shutdown' hook; this allows us to register UDFs on
persistent handles safely. (it is dangerous to keep them registered between
requests, as there are 0 guarantees that functions with the same name are even
present on the next hit, let alone that the zvals we cache point to the right
place.
2005-06-10 05:49:48 +00:00
Wez Furlong
6cc74b0e39 add sqliteCreateAggregate() 2005-06-10 05:17:47 +00:00
Wez Furlong
41421c7d7a finish implementation of sqliteCreateFunction(). 2005-06-10 04:04:43 +00:00
Wez Furlong
be76bd5278 work in progress on UDF.
Something is hokey in HEAD, checking it in to try it on another box.
2005-06-10 02:50:37 +00:00
foobar
a20383ba06 - Unify the "configure --help" texts 2005-05-29 23:17:16 +00:00
Marcus Boerger
9b3929a7e9 - Need to make PDO::__construct() final to prevent SEGV it isn't called 1st 2005-05-26 18:36:18 +00:00
Marcus Boerger
2ac0540323 - Add test for deriving PDO 2005-05-24 14:26:22 +00:00
Marcus Boerger
88157ad284 - Add new tests for PDO_FETCH_INTO 2005-05-24 12:39:09 +00:00