]> granicus.if.org Git - php/commit
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)
commit3bd2faff8c9dc12d788d93293010eff496501bd6
tree008f16c334f9468ec3dba96d8a33961f8ab02751
parentbe73f948d2c2266bd36e2f0ec120d72d27f27f27
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