When the database encoding is GBK, there is a bug in mysql, so the sql will not be executed correctly
The specific performance is
Contents containing ~ and containing Y will be searched.
Query the xxx table with fuzzy conditions in the ttt field. .
% represents any character
That means 123~456, abc~def, all of these can meet the conditions
When the database encoding is GBK, there is a bug in mysql, so the sql will not be executed correctly
The specific performance is
Contents containing ~ and containing Y will be searched.
Query the xxx table with fuzzy conditions in the ttt field. .
% represents any character
That means 123~456, abc~def, all of these can meet the conditions
RTFM
http://dev.mysql.com/doc/refman/5.6/e...