Felipe Pena
84a8bb038a
MFH: New way for check void parameters
2008-03-10 22:15:36 +00:00
Johannes Schlüter
1aa32afa8a
MFH: Fix get_parent_class() of PDORow instances
2008-03-03 19:00:45 +00:00
Ilia Alshanetsky
43bcf759d3
Better fix for bug #44189
2008-02-26 00:13:57 +00:00
Ilia Alshanetsky
e0388c5549
Fixed bug #44200 (A crash in PDO when no bound targets exists and yet
...
bound parameters are present)
2008-02-24 16:08:32 +00:00
Ilia Alshanetsky
3101edfd18
Fixed bug #44171 (Invalid FETCH_COLUMN index does not raise an error)
2008-02-20 03:11:43 +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
Sebastian Bergmann
d1dded8751
MFH: Bump copyright year, 2 of 2.
2007-12-31 07:17:19 +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
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
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
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
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
dc1c6f74c8
Fixed bug #41698 (float parameters truncated to integer in prepared
...
statements).
2007-06-26 01:24:10 +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
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
Antony Dovgal
58e96c4c10
nullify param.parameter and avoid destroying it twice
2007-01-27 21:53:26 +00:00
Sebastian Bergmann
4223aa4d5e
MFH: Bump year.
2007-01-01 09:36:18 +00:00
Ilia Alshanetsky
b7b0f4d988
Fixed bug #39759 (Can't use stored procedures fetching multiple result
...
sets in pdo_mysql).
2006-12-08 19:50:40 +00:00
Ilia Alshanetsky
7fb3715d43
Fixed bug #38319 (Remove bogus warnings from persistent PDO connections).
2006-12-04 03:07:44 +00:00
Ilia Alshanetsky
2d4b8e19e2
Fixed bug #39656 (crash when calling fetch() on a PDO statment object
...
after closeCursor()).
2006-11-28 16:27:53 +00:00
Ilia Alshanetsky
887b3484f7
Fixed bug #39398 (Booleans are not automatically translated to integers).
2006-11-07 17:57:17 +00:00
Antony Dovgal
b7f2d8f17e
MFH: fix possible crash in free_statement()
2006-08-23 19:15:57 +00:00
Ilia Alshanetsky
43fca8a3f8
Fixed bug #38394 (PDO fails to recover from failed prepared statement
...
execution).
2006-08-09 14:45:00 +00:00
Ilia Alshanetsky
2b5a53d6b6
Fixed memory leak on unused bound name parameters.
2006-08-01 15:06:01 +00:00
Ilia Alshanetsky
c6ace95236
Fixed bug #37445 (Fixed crash in pdo_mysql resulting from premature object
...
destruction).
2006-07-31 20:18:11 +00:00
Antony Dovgal
168f53b72b
fix bug #38253 (PDO produces segfault with default fetch mode)
...
add test
2006-07-30 11:19:56 +00:00
Antony Dovgal
3ff986ecf7
init vatiables
2006-06-20 13:26:01 +00:00
Antony Dovgal
e4a3732c91
no need to call zend_is_callable() if callable is known to be invalid
...
free fname on failure and plug possible leak
2006-05-30 09:46:59 +00:00
Marcus Boerger
7bbab02633
- MFH
...
. Fix iterator based access
. Add new attribute ATTR_DEFAULT_FETCH_MODE: $bdh->setAttribute()
. Add new fetch mode: FETCH_PROPS_LATE, this fills object member
variables after calling the constructor (fixes #36428 ).
2006-05-11 22:43:44 +00:00
Antony Dovgal
ea53739d30
MFB: don't segfault if an exception has been thrown from the fetch handler
2006-04-22 19:10:53 +00:00
Wez Furlong
687e6ffc58
Add "ATTR_EMULATE_PREPARES" general attribute to replace the custom
...
attributes employed by mysql and postgres drivers.
No functional change.
2006-04-09 08:05:01 +00:00
Antony Dovgal
08e6fded56
prevent possible NULL dereference
2006-03-28 20:19:44 +00:00
Wez Furlong
fb7d5bd780
The fix for #35332 caused #35671 (and thus PECL #6504 ).
...
Partially back out that fix and introduce an extra optional step for drivers to
canonicalize the "name" that is used for registering parameters.
2006-03-27 20:51:01 +00:00
Ilia Alshanetsky
4ccd89d147
Properly calculate the size of the result array.
2006-03-19 17:35:36 +00:00
Antony Dovgal
5c7c11c41d
MFH: check stream for NULL before writing to it
...
remove unnecessary semicolons
2006-03-18 22:24:05 +00:00
Ilia Alshanetsky
92ba7cccad
Fixed memory leak on unused bind var.
2006-03-15 15:25:50 +00:00
Marcus Boerger
1d461a6bcc
- MFH
2006-01-22 23:57:41 +00:00
Ilia Alshanetsky
64a7e46506
Fixed bug #35797 (segfault on PDOStatement::execute() with
...
zend.ze1_compatibility_mode = On).
2006-01-01 20:07:41 +00:00
foobar
5bd93221a8
bump year and license version
2006-01-01 12:51:34 +00:00
Ilia Alshanetsky
b83a0eb10c
Fixed memory corruption when FETCH_LAZY mode is being used.
2005-12-17 20:00:00 +00:00