Commit Graph

540 Commits

Author SHA1 Message Date
Ilia Alshanetsky
353d1ea039 PDO is hardly experimental 2008-01-31 20:50:27 +00:00
Dmitry Stogov
240fa244c3 Improved PHP binary size and startup speed with GCC4 visibility control (Nuno) 2008-01-30 09:41:12 +00:00
Nuno Lopes
b89396b11e move about 3K of data to the const area. also reduce memory usage (~ -266 bytes :P) 2008-01-25 19:57:57 +00:00
Ilia Alshanetsky
40dc00410d Missing patch bit from the FETCH_GROUP fix 2008-01-14 18:41:31 +00:00
Ilia Alshanetsky
fa1e1d249b Fixed a bug with PDO::FETCH_COLUMN|PDO::FETCH_GROUP mode when a column # by
which to group by data is specified.
2008-01-11 01:47:18 +00:00
Ilia Alshanetsky
a4674c5ed7 Skip test for PostgreSQL driver since error is too dissimilar to other
drivers
2008-01-03 16:46:52 +00:00
Sebastian Bergmann
d1dded8751 MFH: Bump copyright year, 2 of 2. 2007-12-31 07:17:19 +00:00
Sebastian Bergmann
f8a8196d63 MFH: Bump copyright year, 1 of 2. 2007-12-31 07:15:43 +00:00
David Soria Parra
07487ad0e7 - Fixed bug #43663 (Extending PDO class with a __call() function doesn't work).
CVS
2007-12-30 17:51:35 +00:00
Antony Dovgal
2b856ff3c7 fix test 2007-11-27 11:14:33 +00:00
Antony Dovgal
da231136ce fix test 2007-11-27 06:44:16 +00:00
Ilia Alshanetsky
0c0456d275 Revert addition of - char support for bound param names 2007-11-26 21:09:50 +00:00
Jani Taskinen
dcd3b197e7 MFH:- Fixed bug #43365 (Several enums have trailing commas) 2007-11-26 10:59:04 +00:00
Ilia Alshanetsky
204f9e1a74 Adjusted fix for bug #42978 2007-11-20 23:12:17 +00:00
Ilia Alshanetsky
48878f2ecd Fixed bug #42978 (mismatch between number of bound params and values causes
a crash in pdo_pgsql)
2007-11-20 14:22:27 +00:00
Antony Dovgal
379e8a5970 fix test 2007-11-08 12:40:43 +00:00
Ilia Alshanetsky
d689a10f3a Fixed test 2007-11-04 16:12:13 +00:00
Ilia Alshanetsky
548c25ef1c Fixed bug #43139 PDO ignores ATTR_DEFAULT_FETCH_MODE in some cases with fetchAll() 2007-10-31 12:57:51 +00:00
Ilia Alshanetsky
84f0fba1a5 Test not relavent for sqlite that uses built-in bound syntax 2007-10-30 23:03:23 +00:00
Ilia Alshanetsky
c27a8a41c2 Fixed bug #43130 (Bound parameters cannot have - in their name) 2007-10-29 22:36:26 +00:00
Ilia Alshanetsky
3762dfc09f Fixed bug #42917 (PDO::FETCH_KEY_PAIR doesn't work with setFetchMode) 2007-10-11 20:54:41 +00:00
Yiduo (David) Wang
104290130e MFH: stmt->fetch.func.values is not a zval and should not be freed with FREE_ZVAL 2007-10-08 04:06:15 +00:00
Yiduo (David) Wang
4b4d634cb9 MFH: Added macros for managing zval refcounts and is_ref statuses 2007-10-07 05:22:07 +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
Stanislav Malyshev
1f45d49a0c fix crash if stream is empty and reader function sets buffer as null 2007-09-12 21:21:18 +00:00
Ilia Alshanetsky
910850be51 Fixed bug #42643 (CLI segfaults if using ATTR_PERSISTENT). 2007-09-12 18:26:49 +00:00
Hannes Magnusson
2fc92c9172 - Fixed bug #42452 (PDO classes do not expose Reflection API information)
- Fixed tests
2007-08-30 14:06:12 +00:00
Ilia Alshanetsky
c72d39f763 Fixed bug #41971 (PDOStatement::fetch and PDOStatement::setFetchMode causes
unexpected behavior).
2007-07-31 22:48:42 +00:00
Ilia Alshanetsky
2600cf9c20 Already exists in PECL 2007-07-25 22:26:14 +00:00
Dmitry Stogov
7ec48cb37f Fixed bug #40757 (get_object_vars get nothing in child class)
Fixed bug #41929 (Foreach on object does not iterate over all visible properties)
2007-07-24 11:39:56 +00:00
Antony Dovgal
fe25997d44 fix test 2007-07-23 22:46:03 +00:00
Jani Taskinen
5b71d45eff MFH: sync 2007-07-23 11:53:58 +00:00
Ilia Alshanetsky
20c4198341 Added test for KEY_PAIR code and fixed KEY_PAIR detection code 2007-07-22 15:50:17 +00:00
Ilia Alshanetsky
285316fcff Fixed PDO_FETCH_KEY_PAIR implementation for fetchAll() 2007-07-22 15:14:21 +00:00
Ilia Alshanetsky
39c1705848 Fixed a possible crash inside the constructor 2007-07-16 18:00:18 +00:00
Ilia Alshanetsky
d34bfe5c37 When working with persistent connections re-initialize options on each
connection. Flags like error reporting may differ.
2007-06-28 19:22:52 +00:00
Ilia Alshanetsky
37d1bfed25 Added support for ATTR_TIMEOUT inside pdo_pgsql driver.
Fixed a bug inside PDO's "use persistent" connection detection mechanism
that would trigger connections on "" and "0" values
2007-06-28 03:13:29 +00:00
Ilia Alshanetsky
abffe87d42 Fixed a crash inside PDO when there is more then one instance of a
persistent connection inside a script and PDO object is extended by class
with a destructor
2007-06-27 02:02:18 +00:00
Ilia Alshanetsky
dc1c6f74c8 Fixed bug #41698 (float parameters truncated to integer in prepared
statements).
2007-06-26 01:24:10 +00:00
Ilia Alshanetsky
c084d1c829 Fixed bug #41596 (Fixed a crash inside pdo_pgsql on some non-well-formed
SQL queries).
2007-06-05 22:55:27 +00:00
Ilia Alshanetsky
489c2d739a Fixed test for PostgreSQL 2007-06-03 17:41:21 +00:00
Ilia Alshanetsky
2a6442190c Fixed test to work with postgresql 2007-05-19 15:28:37 +00:00
Hannes Magnusson
4ad45f6566 Fix paths for ext/sqlite 2007-05-17 13:40:12 +00:00
Ilia Alshanetsky
67032ecdf0 Make test work in sqlite 2007-05-16 21:03:46 +00:00
Antony Dovgal
5e7b464517 typofix 2007-05-16 20:04:32 +00:00
Ilia Alshanetsky
efd7846d34 [DOC] Added PDO::FETCH_KEY_PAIR mode that will fetch a 2 column result set
into an associated array.
2007-05-16 19:33:57 +00:00
Antony Dovgal
1f65545121 fix test names 2007-05-07 18:03:01 +00:00
Ilia Alshanetsky
7810fc89fa Fixed bug #41215 (setAttribute return code reversed). 2007-04-29 14:47:34 +00:00
Antony Dovgal
9ab23a7e53 fix leaks in row_get_properties()
thanks to Kellen Bombardier for noticing
2007-04-17 17:00:16 +00:00
Antony Dovgal
c73225ab61 MFH: fix #40727 (segfault in PDO when failed to bind parameters) 2007-03-07 09:03:07 +00:00