Commit 3a4d315f authored by unknown's avatar unknown
Browse files

fixed db name and layout (can cause very rare race condition bug)

parent 143e585a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -2141,7 +2141,7 @@ 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->grant.version=grant_version;		/* purecov: inspected */