Commit Graph

135 Commits

Author SHA1 Message Date
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
Antony Dovgal
c7631a2dca fix #35543 (php crash when calling non existing method of a class that extends PDO) 2005-12-04 11:40:52 +00:00
Ilia Alshanetsky
40b2772dcd MFB51: Fixed bug #35358 (Incorrect error messages for PDO class constants). 2005-11-24 16:22:27 +00:00
Ilia Alshanetsky
9979ac2215 MFB51: Fixed bug #35303 (PDO prepare() crashes with invalid parameters). 2005-11-20 20:07:38 +00:00
Antony Dovgal
9f4390ce8b fix #35293 (PDO segfaults when using persistent connections) 2005-11-19 16:39:47 +00:00
Dmitry Stogov
1bedfbeb24 Unicode support 2005-10-12 12:13:54 +00:00
Ilia Alshanetsky
19b334a08a Fixed memory leak. 2005-10-03 03:53:57 +00:00
Marcus Boerger
3e0c56aac2 - Fix PDOException base
- MFH PDO::getAvailableDrivers()
- Fix compiler warnings
2005-10-02 20:32:17 +00:00
Marcus Boerger
a39841e57d - Allow to check for default statment class 2005-10-02 18:45:59 +00:00
Marcus Boerger
8ece2140cb - Add ability to change default statement class for PDO::execute()/query() 2005-10-02 18:32:05 +00:00
Ilia Alshanetsky
75555bc472 Allow overloading of PDO constructor. 2005-09-20 19:52:05 +00:00
Marcus Boerger
97bedcc064 - Provide helper function to avoid TSRM issues with exception base and root 2005-09-20 18:46:15 +00:00
Dmitry Stogov
140b23620b ZTS fix 2005-09-20 06:17:30 +00:00
Ilia Alshanetsky
3953b14024 Make PDO use class constants 2005-09-20 00:33:42 +00:00
Marcus Boerger
2568c8a0cb - More TSRM fixes 2005-09-19 18:17:39 +00:00
Wez Furlong
434fa24dfa Merge changes from 5.1 branch.
Add compat header that allows PDO head to compile against PHP 5.0 and PHP 5.1.
2005-09-11 05:04:00 +00:00
Dmitry Stogov
f4b8f4e958 Unicode support cleanup 2005-08-23 09:33:46 +00:00
Andrei Zmievski
b477936661 And here. 2005-08-16 18:22:22 +00:00
Dmitry Stogov
27f39c6826 Unicode support 2005-08-16 16:29:16 +00:00