mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
fixed db name and layout (can cause very rare race condition bug)
This commit is contained in:
parent
d6f9fa0376
commit
2fd0a66591
1 changed files with 2 additions and 2 deletions
|
@ -2141,9 +2141,9 @@ bool check_grant_column(THD *thd,TABLE *table, const char *name,
|
|||
if (table->grant.version != grant_version)
|
||||
{
|
||||
table->grant.grant_table=
|
||||
table_hash_search(thd->host,thd->ip,thd->db,
|
||||
table_hash_search(thd->host, thd->ip, table->table_cache_key,
|
||||
thd->priv_user,
|
||||
table->real_name,0); /* purecov: inspected */
|
||||
table->real_name, 0); /* purecov: inspected */
|
||||
table->grant.version=grant_version; /* purecov: inspected */
|
||||
}
|
||||
if (!(grant_table=table->grant.grant_table))
|
||||
|
|
Loading…
Reference in a new issue