summaryrefslogtreecommitdiff
path: root/sql/sql_handler.cc
diff options
context:
space:
mode:
authorMichael Widenius <monty@mariadb.org>2017-06-18 12:28:40 +0300
committerSergei Golubchik <serg@mariadb.org>2017-08-24 01:05:53 +0200
commitcc77f9882dcaa4e02196bb3847cd66f2943eb4c6 (patch)
treee394e188978a41d0c4eca65aafe917310315c9e1 /sql/sql_handler.cc
parent874e4e473acc7087fc8e375e9de2b5d1e846b7e9 (diff)
downloadmariadb-git-cc77f9882dcaa4e02196bb3847cd66f2943eb4c6.tar.gz
Changed KEY names to use LEX_CSTRING
Diffstat (limited to 'sql/sql_handler.cc')
-rw-r--r--sql/sql_handler.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_handler.cc b/sql/sql_handler.cc
index 4a12868979a..947c41e461e 100644
--- a/sql/sql_handler.cc
+++ b/sql/sql_handler.cc
@@ -571,7 +571,7 @@ mysql_ha_fix_cond_and_key(SQL_HANDLER *handler,
if (handler->keyno < 0 ||
my_strcasecmp(&my_charset_latin1,
keyname,
- table->s->key_info[handler->keyno].name))
+ table->s->key_info[handler->keyno].name.str))
{
if ((handler->keyno= find_type(keyname, &table->s->keynames,
FIND_TYPE_NO_PREFIX) - 1) < 0)