1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00

sql/slave.cc

fixed typo in the error message
sql/sql_base.cc
    fixed bugs in reopen_name_locked_table() after talking to Monty

added a test case for restore + select


sql/slave.cc:
  fixed typo in the error message
sql/sql_base.cc:
  fixed bugs in reopen_name_locked_table() after talking to Monty
This commit is contained in:
unknown
2000-09-19 17:23:58 -06:00
parent de3381459b
commit 725bccc0fc
3 changed files with 68 additions and 3 deletions

View File

@@ -866,13 +866,15 @@ TABLE *reopen_name_locked_table(THD* thd, TABLE_LIST* table_list)
}
table->key_length=key_length;
table->version=refresh_version;
table->flush_version=flush_version;
table->version=0;
table->flush_version=0;
if (!key_cache_inited)
ha_key_cache();
table->in_use = thd;
check_unused();
pthread_mutex_unlock(&LOCK_open);
table->next = thd->open_tables;
thd->open_tables = table;
table->tablenr=thd->current_tablenr++;
table->used_fields=0;
table->const_table=0;