mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
backport wild_compare fix from 4.1 - bug#3924
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user