summaryrefslogtreecommitdiff
path: root/ext/mysqlnd/mysqlnd_palloc.c
diff options
context:
space:
mode:
authorAndrey Hristov <andrey@php.net>2009-05-28 11:47:15 +0000
committerAndrey Hristov <andrey@php.net>2009-05-28 11:47:15 +0000
commitc90b10a290ee8f24391cd2a5168de9ad5da9f718 (patch)
tree934caefb83e423679dd85f6da1b1e9d3d54973b0 /ext/mysqlnd/mysqlnd_palloc.c
parent7d2383061c18e62133eae4bb4ffce81a7967b4b7 (diff)
downloadphp-git-c90b10a290ee8f24391cd2a5168de9ad5da9f718.tar.gz
Fix a bug with mysqlnd_fetch_field(_direct()). With mysqlnd the optimised
function was called, which however, doesn't respect that during store the raw data is not unpacked, to be lazy. The data is unpacked to zvals later, during every row fetch. However, this way max_length won't be calculated correctly. So, if a mysqlnd_fetch_field(_direct) call comes we need to unpack everything and then calculate max_length...and that is expensive, defies our lazy unpacking optimisation.
Diffstat (limited to 'ext/mysqlnd/mysqlnd_palloc.c')
0 files changed, 0 insertions, 0 deletions