输入banner图图片脚本导航/分类

Mysql Concat()bug

1、http://bugs.mysql.com/bug.php?id=12030

CONCAT with INTEGER modifies result-set encoding

2、这个bug的修改方式,

对integer变量进行转换

CONCAT(p.company,‘-‘,CAST(p.id AS CHAR CHARACTER SET utf8 ))

Mysql Concat()bug

标签: