server: quote query string (#4529)
server: quote query string (#4529)

In case binary data is sent for execute prepared statement.

Fixes https://github.com/pingcap/tidb/issues/2747
pingcap/tidb,qiuyesuifeng/tidb,wusphinx/tidb,cosmtrek/tidb,kyle-wang/tidb,CodeRushing/tidb,zimulala/tidb,wusphinx/tidb,mccxj/tidb,coocood/tidb,XuHuaiyu/tidb,Nify/tidb,EvilMcJerkface/tidb,yuanwhy/tidb,zimulala/tidb,ngaut/tidb,louishust/tidb,mccxj/tidb,kyle-wang/tidb,ngaut/tidb,yuanwhy/tidb,pingcap/tidb,pingcap/tidb,c4pt0r/tidb,gaocegege/tidb,louishust/tidb,spongedu/tidb,8cbx/tidb,gaocegege/tidb,ngaut/tidb,8cbx/tidb,Cofyc/tidb,ming-relax/tidb,kyle-wang/tidb,yangwenmai/tidb,pingcap/tidb,ngaut/tidb,Cofyc/tidb,ming-relax/tidb,Nify/tidb,kyle-wang/tidb,pingcap/tidb,tiancaiamao/tidb,cosmtrek/tidb,c4pt0r/tidb,yangwenmai/tidb,XuHuaiyu/tidb,c4pt0r/tidb,tiancaiamao/tidb,qiuyesuifeng/tidb,kyle-wang/tidb,c4pt0r/tidb,spongedu/tidb,ngaut/tidb,EvilMcJerkface/tidb,c4pt0r/tidb,c4pt0r/tidb,ngaut/tidb,pingcap/tidb,CodeRushing/tidb,coocood/tidb,kyle-wang/tidb