Commit 43a04aa9 authored by bar@bar.mysql.r18.ru's avatar bar@bar.mysql.r18.ru

sql_show.cc:

  LIKE was used against wrong name
parent 3a453df6
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment