]> granicus.if.org Git - php/commit
Fix for MySQL Bug #49406
authorAndrey Hristov <andrey@php.net>
Mon, 30 Aug 2010 18:10:23 +0000 (18:10 +0000)
committerAndrey Hristov <andrey@php.net>
Mon, 30 Aug 2010 18:10:23 +0000 (18:10 +0000)
commit2ab9513ff452f7e11bfa97875017141b5134f9cf
treec13c7dddce3631900a3820f2979e8ef8b3a752a6
parent2721bbfcf9937248e6f113549dc394f377d5f41c
Fix for MySQL Bug #49406
Binding params doesn't work when selecting a date inside a CASE-WHEN
(http://bugs.mysql.com/bug.php?id=49406)
The MySQL server sends MYSQL_TYPE_NEWDATE values as clear text, even
when PS are used and thus the binary protocol are used. Changing the
handler for the type.
ext/mysqlnd/mysqlnd_ps_codec.c