1
0
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:
konstantin@mysql.com
2006-01-04 21:39:39 +03:00
parent 6502e6bba7
commit 4a4b8eacc1
2 changed files with 2 additions and 2 deletions

View File

@ -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,