Commit Graph

196 Commits

Author SHA1 Message Date
Ilia Alshanetsky
c2ed5e6f9d Fixed bug #50728 (All PDOExceptions hardcode 'code' property to 0) 2010-01-12 12:46:54 +00:00
Sebastian Bergmann
22f4ef45fe sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php 2010-01-03 09:23:27 +00:00
Felipe Pena
844886532c - Added SKIPIF 2009-12-15 00:37:43 +00:00
Felipe Pena
93081294fe - Fixed memory leak when E_STRICT message is getted 2009-12-14 21:44:56 +00:00
Felipe Pena
a51e7d3343 - Added MAKE_COPY_ZVAL(ppzv, pzv) macro 2009-12-08 01:57:37 +00:00
Rasmus Lerdorf
3f5a58bd3a Someone strap down Jani and give him a sedative please.
This makes our toolchain work with the latest versions
of autoconf and avoids a lot of end-user grief.
2009-11-25 01:30:06 +00:00
Felipe Pena
7c3bd45b82 - Fixed bug #49521 (PDO fetchObject sets values before calling constructor)
(patch by Pierrick)
2009-11-15 16:20:37 +00:00
Scott MacVicar
6b805e28d1 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
Kalle Sommer Nielsen
d6242c96fe Don't build sqlite as threadsafe if we are doing an NTS build 2009-08-10 16:58:53 +00:00
Felipe Pena
73e8c2e140 - Fixed bug #48773 (Incorrect error when setting PDO::ATTR_STATEMENT_CLASS with ctor_args)
[HEAD only]
2009-07-19 18:55:31 +00:00
Ilia Alshanetsky
786da897ff 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:06:20 +00:00
Ilia Alshanetsky
1a39a2d3d3 MFB: The \0 removal is only needed prior to 3.4.0 2009-05-19 19:16:05 +00:00
Ilia Alshanetsky
f9493b0812 MFB: Revert faulty warning fix 2009-05-19 16:14:46 +00:00
Matteo Beccati
009691e028 - Fixed bug #48185 removing no-op code 2009-05-07 23:04:02 +00:00
Jani Taskinen
7477102a60 - Fix cleanup 2009-04-25 21:44:20 +00:00
Jani Taskinen
4485a159ce - Added missing SKIPIF 2009-04-25 21:39:37 +00:00
Alexey Zakhlestin
7b22d40c61 reverted previous patch, using explicit cast instead 2009-04-01 14:34:21 +00:00
Alexey Zakhlestin
bcfc638490 const pointer was used in non-const context 2009-04-01 11:31:54 +00:00
Felipe Pena
09c94bda00 - Fix test 2009-03-23 23:03:08 +00:00
Marcus Boerger
d4f5b3f0a9 - This is PHP 6 - if this ... ever gets out 2009-03-10 23:40:06 +00:00
Felipe Pena
ffc0714655 - Fix test 2009-02-20 13:37:48 +00:00
Johannes Schlüter
f6f0d58bee - Fix #46542 Extending PDO class with a __call() function doesn't work as
expected
2009-02-17 14:39:58 +00:00
Felipe Pena
29ca11800b - New test 2009-02-13 02:20:31 +00:00
Scott MacVicar
03b0b3031e Add table key to getColumnMeta() with SQLite 2009-01-13 02:50:23 +00:00
Scott MacVicar
f2e5e7f684 Fix building of pdo_sqlite without sqlite3 2009-01-12 19:02:41 +00:00
Sebastian Bergmann
7f4dc8702a Bump copyright year, 3 of 3. 2008-12-31 11:12:40 +00:00
Johannes Schlüter
8715eb0afa Fix tests (use a in-memory database not a file called memory) 2008-12-03 11:00:19 +00:00
Felipe Pena
fbf7cc72aa - Fixed memory leaks
- Added new tests (Coverage++)
2008-12-02 21:00:23 +00:00
Dmitry Stogov
e5454b359a Fixed bug #46409 (__invoke method called outside of object context when using array_map) 2008-11-27 19:02:45 +00:00
Felipe Pena
27357e9ce5 - Fixed wrong check
- Improved test
2008-11-05 23:39:09 +00:00
Felipe Pena
0d97fcdaed - Improved fix 2008-11-03 23:43:51 +00:00
Felipe Pena
49291d9c81 - Fix test (string -> unicode) 2008-11-03 22:22:25 +00:00
Felipe Pena
e259e1b0fb - New test 2008-11-03 21:49:18 +00:00
Felipe Pena
d2edc09737 - Fixed endless loop in PDOStatement::debugDumpParams()
patch by: Jonah H. Harris <jonah.harris at gmail dot com>
2008-11-03 20:45:43 +00:00
Felipe Pena
743d0d1cf1 - Added skipif (Opss :)) 2008-10-10 19:52:55 +00:00
Felipe Pena
9554edb901 - New test 2008-10-10 19:49:20 +00:00
Elizabeth Marie Smith
6f7ced7ec0 Stupid typo 2008-08-06 16:57:08 +00:00
Elizabeth Marie Smith
58771162b4 Fix include path 2008-08-06 16:48:19 +00:00
Elizabeth Marie Smith
8a515d6b51 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:22:53 +00:00
Felipe Pena
611ecc5111 - Added parameter TSRMLS_DC in zend_is_callable() 2008-08-02 04:40:45 +00:00
Scott MacVicar
2feac2e6d2 MFB: Make pdo_sqlite use the bundled extension with sqlite3 2008-08-01 12:02:40 +00:00
Jani Taskinen
3f73317c79 - Fix PDO configure dependancy: If --disable-pdo is used, disable all enabled-by-default drivers. Also error out if you try to configure a driver as static but pdo is disabled. 2008-07-25 13:38:41 +00:00
Scott MacVicar
1390f0614d Remove non existent defines, change THREADSAFE to SQLITE_THREADSAFE and sync with 5.3 2008-07-24 14:20:51 +00:00
Scott MacVicar
fe8c688313 Add .cvsignore, update config.w32 and remove the other bundled sqlite library 2008-07-24 11:24:28 +00:00
Scott MacVicar
c28a412004 MFB: Update pdo_sqlite to use the amalgamation, much easier to upgrade / maintain. Also kill useless PECL version tag in MINFO. 2008-07-24 01:01:43 +00:00
Scott MacVicar
2c77772943 MFB: This file isn't needed any more 2008-07-17 17:25:34 +00:00
Felipe Pena
b859ca7770 - Fixed compilation warnings 2008-03-22 20:37:08 +00:00
Scott MacVicar
b979efee24 MFB:
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 17:02:48 +00:00
Scott MacVicar
31dade5280 MFB: Update bundled SQLite to 3.5.6 2008-03-07 10:55:14 +00:00
Nuno Lopes
1dc0e94e0f MFB: remove unused PHP_EXTNAME_API macros.
#in preparation for the gcc 4 visibility patch
2008-01-03 16:18:29 +00:00