一、http://bugs.mysql.com/bug.php?id=12030php
CONCAT with INTEGER modifies result-set encodingmysql
二、這個bug的修改方式,sql
對integer變量進行轉換get
CONCAT(p.company,'-',CAST(p.id AS CHAR CHARACTER SET utf8 ))it