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
Dmitry Stogov
82a504721e
Unicode support
2005-08-15 16:13:02 +00:00
Wez Furlong
f6276a2b8a
zts fixes
2005-08-12 23:32:31 +00:00
Dmitry Stogov
21c1109e0c
Unicode support
2005-08-12 11:29:33 +00:00
Wez Furlong
664ebfa499
expand oracle null handling compatability by offering the ability to convert
...
NULLs into empty strings as well as the other way around. It still doesn't
help a great deal in the long run, but at least the option is there.
Make sure hash tables are nulled out to avoid double freeing them.
2005-07-12 02:40:59 +00:00
Ilia Alshanetsky
5fe5da90ea
Safer way of allowing 'blank' user/pass.
...
# Thanks Wez.
2005-07-09 02:53:07 +00:00
Ilia Alshanetsky
0b1931a8ff
Fix needed for PostgreSQL driver to allow $user & $pass to be supplied via
...
DSN as NULL.
2005-07-08 23:33:35 +00:00
Wez Furlong
49c1882837
Add a PDO_ATTR_STRINGIFY_FETCHES attribute, which is used to convert integer or
...
floating point values into strings during fetch. This is a compatibility hack
for drivers that return native types rather than string representations.
We use this flag in the test suite to persuade postgres tests to pass.
2005-07-08 04:13:00 +00:00
Wez Furlong
da7d537d49
populate the new dbh->driver field.
...
Implement PDO_ATTR_DRIVER_NAME.
2005-07-07 17:08:01 +00:00
Dmitry Stogov
0eb0b781e0
Fixed memory leaks
2005-07-07 11:19:56 +00:00