summaryrefslogtreecommitdiff
path: root/sql/sql_show.cc
diff options
context:
space:
mode:
authorunknown <bar@bar.mysql.r18.ru>2003-03-25 13:42:01 +0400
committerunknown <bar@bar.mysql.r18.ru>2003-03-25 13:42:01 +0400
commit8816bbae1c9da57a2aadc14ebd5f311c0b099594 (patch)
tree0e7b6073b34619a93f5262eb8bd0421dcc17822a /sql/sql_show.cc
parentf8b7332cf3d991610e13f61a9631d44381a5f6f2 (diff)
downloadmariadb-git-8816bbae1c9da57a2aadc14ebd5f311c0b099594.tar.gz
sql_show.cc:
LIKE was used against wrong name sql/sql_show.cc: LIKE was used against wrong name
Diffstat (limited to 'sql/sql_show.cc')
-rw-r--r--sql/sql_show.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_show.cc b/sql/sql_show.cc
index bd33156eeab..d2cc9045148 100644
--- a/sql/sql_show.cc
+++ b/sql/sql_show.cc
@@ -1457,7 +1457,7 @@ int mysqld_show_collations(THD *thd, const char *wild)
if (!cs[0] || !cl[0] || !my_charset_same(cs[0],cl[0]) || !(cs[0]->state & MY_CS_PRIMARY))
continue;
if (cs[0] && !(wild && wild[0] &&
- wild_case_compare(system_charset_info,cs[0]->name,wild)))
+ wild_case_compare(system_charset_info,cl[0]->name,wild)))
{
if (write_collation(protocol, cl[0]))
goto err;