backport wild_compare fix from 4.1 - bug#3924

This commit is contained in:
unknown 2004-05-29 17:52:20 +02:00
commit f1ffa13923
9 changed files with 61 additions and 38 deletions

View file

@ -149,7 +149,7 @@ OPEN_TABLE_LIST *list_open_tables(THD *thd, const char *wild)
if (wild)
{
strxmov(name,entry->table_cache_key,".",entry->real_name,NullS);
if (wild_compare(name,wild))
if (wild_compare(name,wild,0))
continue;
}