Felipe Pena
58b7edba10
- Fixed bug pecl#9641 (Unable to add driver specific methods to PDOStatement)
2008-10-09 12:59:47 +00:00
Johannes Schlüter
a89387b7e3
- Fix #44425 (Extending PDO/MySQL class with a __call() function doesn't work)
2008-09-16 23:34:31 +00:00
Dmitry Stogov
013059c247
Fixed uninitialized data
2008-07-25 08:53:11 +00:00
Gwynne Raskind
29e1c1b66e
Unused function in HEAD, fixes compiler warning
2008-03-10 14:35:37 +00:00
Felipe Pena
2818d4fc51
New way for check void parameters
2008-03-04 23:39:15 +00:00
Ilia Alshanetsky
18c0b63dd1
MFB: Fixed bug #44166 (Parameter handling flaw in
...
PDO::getAvailableDrivers())
2008-03-03 21:13:29 +00:00
Ilia Alshanetsky
287d112e72
MFB: Fixed bug #44189 (PDO setAttribute() does not properly validate values
...
for native numeric options)
2008-02-21 13:38:12 +00:00
Felipe Pena
c963093b82
MFB: Fixed Bug #44159 (Crash: $pdo->setAttribute(PDO::STATEMENT_ATTR_CLASS, NULL))
2008-02-19 12:17:42 +00:00
Sebastian Bergmann
9b620d50b4
Bump copyright year, 2 of 2.
2007-12-31 07:12:20 +00:00
David Soria Parra
e33ce44214
- Fixed bug #43663 (Extending PDO class with a __call() function doesn't work).
2007-12-30 17:43:08 +00:00
Yiduo (David) Wang
95da0dc570
Added macros for managing zval refcounts and is_ref statuses
2007-10-07 05:15:07 +00:00
Dmitry Stogov
8146078f7b
Improved memory usage by movig constants to read only memory. (Dmitry, Pierre)
2007-09-27 18:28:44 +00:00
Ilia Alshanetsky
cbcb1840f3
MFB
2007-05-28 23:43:24 +00:00
Ilia Alshanetsky
09ecbca0e1
MFB: PDO:FETCH_KEY_PAIR
2007-05-16 19:58:58 +00:00
Sebastian Bergmann
3717df72ae
Bump year.
2007-01-01 09:29:37 +00:00
Wez Furlong
bcb1fed3a7
merge PHP 5 pdo into HEAD. This source compiles on both PHP 5 and PHP 6.
...
If you're poking around in here, please make sure that any changes you make
compile on both PHP 5 and 6. Thanks!
2006-12-09 22:18:43 +00:00
Ilia Alshanetsky
7f024a57bc
MFB: Fixed bug #38252 (Incorrect PDO error message on invalid default fetch
...
mode).
2006-12-04 02:40:20 +00:00
Hannes Magnusson
176b72284c
Error message clean up
...
(patch by Matt W (php_lists -AT- realpain.com))
2006-10-08 13:34:24 +00:00
Ilia Alshanetsky
1e101793bb
MFB: Fixed bug #38535 (memory corruption in pdo_pgsql driver on error
...
retrieval inside a failed query executed via query() method).
2006-08-21 16:54:05 +00:00
Ilia Alshanetsky
434704eaf0
MFB: Fixed memory leak with persistent connections
2006-08-07 17:33:20 +00:00
Ilia Alshanetsky
329a7b6301
Fixed build (added missing functions)
2006-08-01 16:37:11 +00:00
Ilia Alshanetsky
0af6ef771e
MFB: Fixed bug #37445 (Fixed crash in pdo_mysql resulting from premature
...
object destruction).
2006-07-31 20:19:18 +00:00
Ilia Alshanetsky
5b40f43faa
MFB: Fixed bug #37709 (Possible crash in PDO::errorCode()).
2006-06-07 03:33:39 +00:00
Antony Dovgal
a330edf4cf
fix build
2006-05-04 07:10:37 +00:00
Sara Golemon
0d6603d22a
Expose PARAM_EVT_* constants
2006-05-03 21:57:58 +00:00
Frank M. Kromann
954199c9fb
More ZSTR() fixes
2006-04-29 14:53:26 +00:00
Antony Dovgal
4b33fba3f5
return FALSE if driver doesn't support quoting and returns 0
...
also fixes PECL bug #6365
2006-03-23 19:03:30 +00:00
Marcus Boerger
dd4f59c9c0
- Drop PDO::setDefaultFetchMode()
2006-03-20 22:18:15 +00:00
Marcus Boerger
56ed3211a6
- Added PDO_ATTR_DEFAULT_FETCH_MODE which controls the default fetch mode
2006-03-20 20:54:34 +00:00
Antony Dovgal
6fd8aaae87
this check should be present in HEAD as well, no only in 5_1
2006-03-19 22:57:47 +00:00
Marcus Boerger
1aeff811c0
- Make all compile without errors/warnings
2006-03-19 20:57:53 +00:00
Marcus Boerger
3273a5eab9
- Little reordering now and disable a bit of tony's code to make it compile again
2006-03-19 20:53:58 +00:00
Marcus Boerger
6154b639ed
- Handle attributes in dbh ctor (jean pütz aka tony)
2006-03-19 20:33:51 +00:00
Marcus Boerger
98ddfbba1a
- CS
2006-03-19 20:26:20 +00:00
Marcus Boerger
ef6d420aad
- Explicitly make the default default FETCH_BOTH
2006-03-19 20:08:29 +00:00
Marcus Boerger
74dd417dfe
- Simplify, default mode transfer also in prepare
2006-03-19 19:04:32 +00:00
Marcus Boerger
d82abbf8d4
- Add PDO::setDEfaultFetchMode() (Pierre)
2006-03-18 23:10:40 +00:00
Marcus Boerger
18f1439b32
- Proto fixes
2006-03-06 10:03:25 +00:00
Marcus Boerger
e610f5959f
- s/FETCH_PROPSLATE/FETCH_PROPS_LATE/ as per IRC discussion
2006-02-24 16:04:13 +00:00
Marcus Boerger
252ad86917
- Add FETCH_PROPSLATE: fetch props after calling ctor
...
# Fixes bug #36428
2006-02-24 15:56:03 +00:00
Dmitry Stogov
0f1209ab3d
Portable unicode string API:
...
- use the same type (int) for zval.value.usr.len and zval.value.str.len
- use union "zstr" as char*/UChar* mixture instead of void*
- Z_UNISTR() and Z_UNILEN() no longer check for Z_TYPE()
- nuke int32_t from ZE (not finisned)
2006-02-21 20:12:43 +00:00
Andi Gutmans
1efe984d08
- Get rid of using ENFORCE_SAFE_MODE.
2006-02-19 04:29:42 +00:00
Dmitry Stogov
09ca61c125
Made server wide switch for unicode on/off (according to PDM).
2006-02-13 10:23:59 +00:00
Antony Dovgal
d7393d2d02
fix build
2006-02-01 09:10:23 +00:00
Ilia Alshanetsky
c064a9e243
MFB51: Fixed bug #36222 (errorInfo in PDOException is always NULL).
2006-01-31 17:21:25 +00:00
foobar
251c5173fd
bump year and license version
2006-01-01 13:10:10 +00:00
Dmitry Stogov
b863d32288
Fixed memory corruption and termination through _zend_bailout()
2005-12-23 09:41:31 +00:00
foobar
a208d9a966
- Nuke php3 legacy
2005-12-06 02:28:26 +00:00
foobar
4851c062fb
fix typo
2005-12-05 22:40:31 +00:00
foobar
130333274b
- Do not use the PHP3 era names!
2005-12-05 22:38:17 +00:00