我有以下回答正确结果的问题:
SELECT *
FROM `tags`
WHERE tag_name = בית\"ר-ירושלים
如果我改动,
SELECT *
FROM `tags`
WHERE tag_name LIKE בית\"ר-ירושלים
或
SELECT *
FROM `tags`
WHERE tag_name LIKE בית\"ר-ירושלים%
它没有工作。 如果我从询问中删除所有斜线和“从问线上”的话,它将发挥作用。
我有以下回答正确结果的问题:
SELECT *
FROM `tags`
WHERE tag_name = בית\"ר-ירושלים
如果我改动,
SELECT *
FROM `tags`
WHERE tag_name LIKE בית\"ר-ירושלים
或
SELECT *
FROM `tags`
WHERE tag_name LIKE בית\"ר-ירושלים%
它没有工作。 如果我从询问中删除所有斜线和“从问线上”的话,它将发挥作用。
As @halocursed said - this is a bug in MySql.
bugs.mysql.com/bug.php?id=46659