mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Post-merge fixes.
This commit is contained in:
@ -2245,7 +2245,6 @@ static GRANT_NAME *name_hash_search(HASH *name_hash,
|
||||
uint len;
|
||||
GRANT_NAME *grant_name,*found=0;
|
||||
HASH_SEARCH_STATE state;
|
||||
GRANT_TABLE *grant_table,*found=0;
|
||||
|
||||
len = (uint) (strmov(strmov(strmov(helping,user)+1,db)+1,tname)-helping)+ 1;
|
||||
for (grant_name= (GRANT_NAME*) hash_first(name_hash, (byte*) helping,
|
||||
|
@ -1624,7 +1624,8 @@ bool table_is_used(TABLE *table, bool wait_for_name_lock)
|
||||
{
|
||||
char *key= table->s->table_cache_key;
|
||||
uint key_length= table->s->key_length;
|
||||
for (TABLE *search= (TABLE*) hash_search(&open_cache, (byte*) key,
|
||||
HASH_SEARCH_STATE state;
|
||||
for (TABLE *search= (TABLE*) hash_first(&open_cache, (byte*) key,
|
||||
key_length, &state);
|
||||
search ;
|
||||
search= (TABLE*) hash_next(&open_cache, (byte*) key,
|
||||
|
Reference in New Issue
Block a user