1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

Remove unused variable

This commit is contained in:
msvensson@shellback.
2006-03-28 19:34:44 +02:00
parent 21001c6df1
commit 1d30dfdc00
8 changed files with 0 additions and 13 deletions

View File

@ -1408,10 +1408,7 @@ void update_non_unique_table_error(TABLE_LIST *update,
TABLE *find_temporary_table(THD *thd, const char *db, const char *table_name)
{
char key[MAX_DBKEY_LENGTH];
uint key_length;
TABLE_LIST table_list;
TABLE *table;
table_list.db= (char*) db;
table_list.table_name= (char*) table_name;
@ -1939,7 +1936,6 @@ TABLE *open_table(THD *thd, TABLE_LIST *table_list, MEM_ROOT *mem_root,
}
else
{
TABLE_SHARE *share;
/* Free cache if too big */
while (open_cache.records > table_cache_size && unused_tables)
VOID(hash_delete(&open_cache,(byte*) unused_tables)); /* purecov: tested */