diff options
| author | Andrey Hristov <andrey@php.net> | 2009-05-28 16:35:16 +0000 |
|---|---|---|
| committer | Andrey Hristov <andrey@php.net> | 2009-05-28 16:35:16 +0000 |
| commit | 09b56ed2a5142b7a303622309ff275cac5177d05 (patch) | |
| tree | 2b26b3f7c317c81fde7376f7ddf5f536d402f6e7 /ext/reflection/php_reflection.h | |
| parent | f9fb575cd7fbb13dfc380301ee4632905e809976 (diff) | |
| download | php-git-09b56ed2a5142b7a303622309ff275cac5177d05.tar.gz | |
Fix a problem with cursors, which did not happen with unbuffered PS for
some reason. Double free of the data, which led to valgrind warnigns.
The fix actually optimizes the code in this cases because the old code
used copy_ctor while the new one skips it because it is not needed.
Transferring data ownership and nulling works best, for PS where we
always copy the string from the result set, unlike the text protocol.
Diffstat (limited to 'ext/reflection/php_reflection.h')
0 files changed, 0 insertions, 0 deletions
