summaryrefslogtreecommitdiff
path: root/innobase/dict
diff options
context:
space:
mode:
authorunknown <heikki@hundin.mysql.fi>2004-12-10 17:05:40 +0200
committerunknown <heikki@hundin.mysql.fi>2004-12-10 17:05:40 +0200
commit0be6eab66564d600e2feb162a8f96835b8c154d3 (patch)
treea812be9f8df8072d52645fe6408b9a0d767e3b1c /innobase/dict
parent23145c51ca5d3263f87957fc967d5d9d2389b469 (diff)
downloadmariadb-git-0be6eab66564d600e2feb162a8f96835b8c154d3.tar.gz
dict0dict.c:
In the FOREIGN KEY parser, do not cut 0xC2A0 from the end of an identifier if it was quoted innobase/dict/dict0dict.c: In the FOREIGN KEY parser, do not cut 0xC2A0 from the end of an identifier if it was quoted
Diffstat (limited to 'innobase/dict')
-rw-r--r--innobase/dict/dict0dict.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/innobase/dict/dict0dict.c b/innobase/dict/dict0dict.c
index ecc533ed26f..2e6504cac11 100644
--- a/innobase/dict/dict0dict.c
+++ b/innobase/dict/dict0dict.c
@@ -2427,7 +2427,7 @@ dict_scan_id(
*id = s;
}
- if (heap) {
+ if (heap && !quote) {
/* EMS MySQL Manager sometimes adds characters 0xA0 (in
latin1, a 'non-breakable space') to the end of a table name.
But isspace(0xA0) is not true, which confuses our foreign key