From 43a04aa9fcbc838ee91694a17a928240de29d7b3 Mon Sep 17 00:00:00 2001 From: "bar@bar.mysql.r18.ru" <> Date: Tue, 25 Mar 2003 13:42:01 +0400 Subject: [PATCH] sql_show.cc: LIKE was used against wrong name --- sql/sql_show.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;