mysql中 select * from xxx where xxx.ttt like '%~%' 是什么意思
数据库编码 GBK
解决方案
数据库编码 是 GBK 的时候 mysql 存在 bug 所以 那条sql 是不会被正确执行的
具体的表现是
包含~ 和 包含 Y 的内容都会被搜索出来。
mysql中 select * from xxx where xxx.ttt like '%~%' 是什么意思
数据库编码 GBK
数据库编码 是 GBK 的时候 mysql 存在 bug 所以 那条sql 是不会被正确执行的
具体的表现是
包含~ 和 包含 Y 的内容都会被搜索出来。