diff options
author | Andrey Hristov <andrey@php.net> | 2008-10-27 15:14:17 +0000 |
---|---|---|
committer | Andrey Hristov <andrey@php.net> | 2008-10-27 15:14:17 +0000 |
commit | 7d4c51c2bd3571feaecb1040bd4b746dcc126a07 (patch) | |
tree | 310a1d565ae9cdee112b8f420758dc8ebc0672aa /ext/mysql/php_mysql.c | |
parent | 877d5f8fed2611a83f93027e01d50a41f5ae5fad (diff) | |
download | php-git-7d4c51c2bd3571feaecb1040bd4b746dcc126a07.tar.gz |
MFH:
Fix overusage of memory when the result set is empty. Then no memory will be
allocated compared to before. Also grow (realloc) the rset with 10% instead
of 33% - more reallocs but better memory usage. Of course later theres is a
realloc to shrink the rset t ofree it from unused rows but its better to
to eat too much at once.
Diffstat (limited to 'ext/mysql/php_mysql.c')
0 files changed, 0 insertions, 0 deletions