]> granicus.if.org Git - php/commit
MFH:
authorAndrey Hristov <andrey@php.net>
Thu, 28 May 2009 11:47:48 +0000 (11:47 +0000)
committerAndrey Hristov <andrey@php.net>
Thu, 28 May 2009 11:47:48 +0000 (11:47 +0000)
commit6c4e8fa4f9f804a636c3d5772e15388f441a21c6
treebcba6c85174b29f4317f08cccea00ddb9e3a2268
parent90a8a7f857836f7aad7b871a5b8969b1294f412f
MFH:
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.
ext/mysqlnd/mysqlnd.h
ext/mysqlnd/mysqlnd_debug.c
ext/mysqlnd/mysqlnd_result.c