Felipe Pena
a5e72fd696
- MFH: Improved fix
2008-11-03 23:44:38 +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
e0fededeba
- MFH: Fixed bug #44327 (PDORow::queryString property & numeric offsets / Crash)
2008-11-03 15:33:23 +00:00
Felipe Pena
7a37fa2d6b
- Revert ZEND_BEGIN_ARG_INFO change
2008-11-02 21:19:39 +00:00
Felipe Pena
df10005563
- MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro
2008-10-24 14:35:40 +00:00
Felipe Pena
84be2eb47b
- MFH: Fixed bug #46292 (PDO::setFetchMode() shouldn't requires the 2nd arg when using FETCH_CLASSTYPE)
2008-10-14 17:36:02 +00:00
Felipe Pena
e90d487720
- Removed unnecessary strcmp call (thanks Tony)
2008-10-12 13:46:10 +00:00
Felipe Pena
d2d4e044c7
- Complete the fix for #46274 , and tests
2008-10-12 13:01:31 +00:00
Felipe Pena
86f0b45ef8
- MFH: Static'fication
2008-10-10 19:35:34 +00:00
Felipe Pena
a3c8772fd1
MFH:
...
- Fixed bug #46139 (PDOStatement->setFetchMode() forgets FETCH_PROPS_LATE)
Initial patch by: chsc at peytz dot dk
2008-10-10 16:47:15 +00:00
Felipe Pena
6bc9869ad9
- MFH: Fixed bug #46157 (PDOStatement::fetchObject prototype error)
2008-09-23 23:07:52 +00:00
Felipe Pena
cf7384aa40
- MFH: Constness (Added const qualifier to several function parameters)
2008-08-12 17:20:25 +00:00
Felipe Pena
e304515ddb
- MFH: Added parameter TSRMLS_DC in zend_is_callable()
2008-08-02 04:46:07 +00:00
Dmitry Stogov
ac68c41f8d
Fixed support for static methods
2008-07-25 09:44:47 +00:00
Antony Dovgal
a46319d86d
fix typos
2008-07-25 08:45:09 +00:00
Dmitry Stogov
691d4a6999
Fixed uninitialised data
2008-07-25 08:23:07 +00:00
Johannes Schlüter
be0793d2e7
MFH: Add mysqlnd support for PDO_mysql, fixes at least bug#41997,#42499,
...
pecl#12794, pecl#12401
# Running the tests:
# (Note: Doesn't work currnetly on HEAD, see:
# http://news.php.net/php.qa/64378 )
#
# PDO_MYSQL_TEST_DSN - DSN
# For example: mysql:dbname=test;host=localhost;port=3306
#
# PDO_MYSQL_TEST_HOST - database host
# PDO_MYSQL_TEST_DB - database (schema) name
# PDO_MYSQL_TEST_SOCKET - database server socket
# PDO_MYSQL_TEST_ENGINE - storage engine to use
# PDO_MYSQL_TEST_USER - database user
# PDO_MYSQL_TEST_PASS - database user password
# PDO_MYSQL_TEST_CHARSET - database charset
#
# NOTE: if any of PDO_MYSQL_TEST_[HOST|DB|SOCKET|ENGINE|CHARSET] is
# part of PDO_MYSQL_TEST_DSN, the values must match. That is, for example,
# for PDO_MYSQL_TEST_DSN = mysql:dbname=test you MUST set PDO_MYSQL_TEST_DB=test.
2008-07-21 13:09:28 +00:00
Felipe Pena
f6cc283d46
- MFH: Add check for avoid segfault when trying instantiate PDORow manually
2008-05-14 12:32:21 +00:00
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