Fixint INT_AND_FLOAT_AS native. It was working ok on 64bit but
authorAndrey Hristov <andrey@php.net>
Thu, 8 Apr 2010 13:20:37 +0000 (13:20 +0000)
committerAndrey Hristov <andrey@php.net>
Thu, 8 Apr 2010 13:20:37 +0000 (13:20 +0000)
commitc0531d8db063775f86b34776c29fc9265a6184e6
tree375ad889c51b9a043b6bbd0cadd23e31363a844b
parent4b2111d17889a5a1c7c8cdda01df3fc2f4a1fa26
Fixint INT_AND_FLOAT_AS native. It was working ok on 64bit but
because on 32bit SIZEOF_LONG is 4 and INT64 from MySQL is 8 everything
was converted to string, even if it was able to put it in a long.
This closes Request #50651 Native type cast returns wrong result
ext/mysqlnd/mysqlnd_wireprotocol.c