Ilia Alshanetsky
06bc5e1b46
MFB: Fixed memory leak on unused bound name parameters.
2006-08-01 15:06:12 +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
Antony Dovgal
34cfab8e7c
MFB: bug #38253 (PDO produces segfault with default fetch mode)
...
add test
2006-07-30 11:20:41 +00:00
Antony Dovgal
59e16e52de
init variables
2006-06-20 13:28:02 +00:00
Antony Dovgal
cfeff66e9a
need to call zend_is_callable() if callable is known to be invalid
2006-05-30 09:46:01 +00:00
Antony Dovgal
22d4fb98e3
don't segfault if an exception has been thrown from the fetch handler
2006-04-22 19:10:40 +00:00
Antony Dovgal
036fc47efb
fix possible NULL dereference
2006-03-27 16:43:02 +00:00
Dmitry Stogov
159bfd55e1
Unicode support
2006-03-27 10:25:35 +00:00
Marcus Boerger
786d78f683
- Prevent default fetch mode (0) from passing down to actual fetching and
...
make it behave like FETCH_BOTH which is the intended overall default
2006-03-19 19:46:18 +00:00
Marcus Boerger
31409d3bed
- Must use > 0 here (decrement after check)
2006-03-19 19:05:28 +00:00
Ilia Alshanetsky
d6118f1b6e
MFB51: Properly calculate the size of the result array.
2006-03-19 17:35:56 +00:00
Marcus Boerger
637443e794
- Simplify
2006-03-18 23:09:47 +00:00
Antony Dovgal
8ff44542ff
check stream for NULL before writing to it
...
remove unnecessary semicolons
2006-03-18 22:25:29 +00:00
Ilia Alshanetsky
111046ceed
MFB51: Fixed memory leak on unused bind var.
2006-03-15 15:27:08 +00:00
Dmitry Stogov
c366cc6d1a
Nuke int32_t (everywhere except streams layer) and signed/unsigned warnings
2006-03-02 13:12:45 +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
Dmitry Stogov
bb0f2051c4
Fixed wrong prototype and error message
2006-02-20 10:50:58 +00:00
Dmitry Stogov
09ca61c125
Made server wide switch for unicode on/off (according to PDM).
2006-02-13 10:23:59 +00:00
Marcus Boerger
c67d8b2152
- Iterator API was changed
2006-02-05 23:31:47 +00:00
Marcus Boerger
2d24ebbe16
- WS
2006-01-22 23:53:53 +00:00
Marcus Boerger
7c8de803d0
- Fix memory leaks
2006-01-22 23:48:02 +00:00
Marcus Boerger
86162f7a38
- WS
2006-01-22 23:46:50 +00:00
Ilia Alshanetsky
7b8104bcf6
Fixed bug #35797 (segfault on PDOStatement::execute() with
...
zend.ze1_compatibility_mode = On).
2006-01-01 20:08:19 +00:00
foobar
251c5173fd
bump year and license version
2006-01-01 13:10:10 +00:00
Ilia Alshanetsky
bc2ed13110
MFB51: Fixed memory corruption when FETCH_LAZY mode is being used.
2005-12-17 20:00:14 +00:00
Ilia Alshanetsky
c64ae2f2c9
MFB51: Fixed bug #35694 (Improved error message for invalid fetch mode).
2005-12-15 22:35:18 +00:00
foobar
a208d9a966
- Nuke php3 legacy
2005-12-06 02:28:26 +00:00
Antony Dovgal
37eeba6f27
tweak the fix
2005-12-01 20:39:49 +00:00
Antony Dovgal
25ac5ff0b7
fix #35508 (PDO fails when unknown fetch mode specified)
2005-12-01 19:59:36 +00:00
Antony Dovgal
dc1d5122d1
fix #35430 (PDO crashes on incorrect FETCH_FUNC use)
2005-11-27 20:56:46 +00:00
Ilia Alshanetsky
40b2772dcd
MFB51: Fixed bug #35358 (Incorrect error messages for PDO class constants).
2005-11-24 16:22:27 +00:00
Marcus Boerger
cd5a60d36d
- Fix memleaks
2005-10-30 22:55:21 +00:00
Marcus Boerger
ef3b427e5c
- Fix PECL Bug #5772 ; FETCH_FUNC broken for mixed case function names
...
# Mhhh, now wez and me did it in different branches only because i forgot
# to commit and MFH too
2005-10-29 11:10:34 +00:00
Ilia Alshanetsky
42663f639d
Fixed bug #34809 (FETCH_INTO in PDO crashes without a destination object).
2005-10-10 14:43:51 +00:00
Marcus Boerger
a28c82fceb
- Fixed Bug #34590 User defined PDOStatement class can't implement methods
2005-09-21 22:53:50 +00:00
Dmitry Stogov
b81255d4fd
ZTS fix
2005-09-12 06:31:54 +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
George Schlossnagle
fbd6ce4db5
Resolution to http://pecl.php.net/bugs/bug.php?id=5193 for all drivers.
2005-09-01 14:39:58 +00:00
Dmitry Stogov
6b622046dc
zend_is_callable() and zend_make_callable() were changed to return readable function name as zval (instead of string).
2005-08-22 12:22:16 +00:00
Andrei Zmievski
c79fbfe6f3
And here
2005-08-16 19:43:23 +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
Dmitry Stogov
21c1109e0c
Unicode support
2005-08-12 11:29:33 +00:00
Ilia Alshanetsky
ecc34bddcc
Fixed memory leak.
2005-08-03 18:26:16 +00:00
Wez Furlong
bf85bf515e
add sanity checks
2005-07-27 14:18:01 +00:00
Marcus Boerger
d8eece2b43
- Add missing part to make colon in parameter binding optional
2005-07-22 14:31:20 +00:00
Wez Furlong
cfe1dc3b46
this looks like a much better fix for refcounting/shutdown in lazy objects.
2005-07-22 04:33:56 +00:00
Wez Furlong
882503110d
fix leak (ugh, this nuance gets me every time)
2005-07-22 02:09:19 +00:00