Dmitry Stogov
691d4a6999
Fixed uninitialised data
2008-07-25 08:23:07 +00:00
Ilia Alshanetsky
3bcf8a3d00
Added a warning message on pdo::exec() failure in the event of an empty query
2008-04-22 13:01:45 +00:00
Antony Dovgal
57f51ee9a4
remove ze1_compat leftovers
2008-03-18 14:44:35 +00:00
Felipe Pena
84a8bb038a
MFH: New way for check void parameters
2008-03-10 22:15:36 +00:00
Ilia Alshanetsky
1a3f7f6450
Fixed bug #44166 (Parameter handling flaw in PDO::getAvailableDrivers())
2008-03-03 21:12:16 +00:00
Ilia Alshanetsky
2fc9f5928e
Fixed bug #44189 (PDO setAttribute() does not properly validate values for
...
native numeric options)
2008-02-21 13:37:21 +00:00
Felipe Pena
6e712e05ab
MFB: Fixed Bug #44159 (Crash: $pdo->setAttribute(PDO::STATEMENT_ATTR_CLASS, NULL))
2008-02-19 12:13:20 +00:00
Sebastian Bergmann
d1dded8751
MFH: Bump copyright year, 2 of 2.
2007-12-31 07:17:19 +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
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
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
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
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
Ilia Alshanetsky
7810fc89fa
Fixed bug #41215 (setAttribute return code reversed).
2007-04-29 14:47:34 +00:00
Sebastian Bergmann
4223aa4d5e
MFH: Bump year.
2007-01-01 09:36:18 +00:00
Ilia Alshanetsky
44045f8cb1
Fixed bug #38252 (Incorrect PDO error message on invalid default fetch mode).
2006-12-04 02:40:08 +00:00
Ilia Alshanetsky
8d770ee2ef
Fixed bug #38535 (memory corruption in pdo_pgsql driver on error retrieval
...
inside a failed query executed via query() method).
2006-08-21 16:53:50 +00:00
Ilia Alshanetsky
194b309d2d
Fixed memory leak with persistent connections
2006-08-07 17:32:13 +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
97ef557b97
initialize var
2006-07-27 08:00:54 +00:00
Ilia Alshanetsky
a9c6e4be1e
Fixed bug #37709 (Possible crash in PDO::errorCode()).
2006-06-07 03:33:16 +00:00
Antony Dovgal
e5c8f8c59b
yet another dummy clone_obj handler to fix problems created by ze1 compat mode
2006-06-06 22:05:56 +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
Sara Golemon
91999f1175
mfh(r-1.129) Expose PARAM_EVT_* constants
2006-05-03 21:58:38 +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
1ad4dd8795
return FALSE if driver doesn't support quoting (this is what docu says)
...
also fixed PECL bug #6365
2006-03-23 19:01:46 +00:00
Marcus Boerger
6e93f3eb8f
- MFH Proto fixes
2006-03-06 10:00:59 +00:00
Ilia Alshanetsky
6f66a63cda
Fixed bug #36222 (errorInfo in PDOException is always NULL).
2006-01-31 17:20:32 +00:00
foobar
5bd93221a8
bump year and license version
2006-01-01 12:51:34 +00:00
Ilia Alshanetsky
2e50763315
Fixed memory corruption that affected pdo_sqlite2.
2005-12-24 17:41:04 +00:00
Ilia Alshanetsky
24af85dfe9
Fixed memory leak
2005-12-07 01:29:14 +00:00
foobar
3e669bc950
MFH: nuke php3 legacy
2005-12-06 02:28:41 +00:00
foobar
f58f7f4e67
MFH: fix typo
2005-12-05 22:41:10 +00:00
foobar
66832decc5
MFH
2005-12-05 22:39:03 +00:00
Antony Dovgal
d72347f7bc
MFH: fix #35543 (php crash when calling non existing method of a class that extends PDO)
2005-12-04 11:41:13 +00:00
Wez Furlong
d0ea27b802
API for connection dependent objects to add/del refs to dbh's.
2005-11-28 05:23:22 +00:00
Wez Furlong
bb2f034eff
well, what do you know, it does do something.
2005-11-25 00:20:12 +00:00
Wez Furlong
dfdd1e4caf
CLASSTYPE is an internal flag.
...
Closes PECL #5640 .
2005-11-24 21:46:56 +00:00
Ilia Alshanetsky
8e49bacf95
Fixed bug #35358 (Incorrect error messages for PDO class constants).
2005-11-24 16:21:43 +00:00
Ilia Alshanetsky
4020933726
Fixed bug #35303 (PDO prepare() crashes with invalid parameters).
2005-11-20 20:06:28 +00:00
Antony Dovgal
493c9fcf93
MFH: fix #35293 (PDO segfaults when using persistent connections)
2005-11-19 16:41:08 +00:00
Wez Furlong
dcd7879556
fixes PECL Bug #5589
2005-10-27 03:51:23 +00:00
Wez Furlong
ea544cf38f
Closes PECL Bug #5750 ; uri: dsn is not handled correctly.
...
Patch from curt@php.net
2005-10-23 04:10:20 +00:00
Antony Dovgal
ffe605f2ed
free cls_methods correctly and fix segfault on shutdown
...
(no bug entry and MFB, though..)
2005-10-03 23:27:26 +00:00
Ilia Alshanetsky
9a0bed9863
MFH: Fixed memory leak.
2005-10-03 03:54:06 +00:00