mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
cleanup: handler::key_read
* rename to "keyread" (to avoid conflicts with tokudb), * change from bool to uint and store the keyread index number there * provide a bool accessor to check if keyread is enabled
This commit is contained in:
@ -859,7 +859,7 @@ void close_thread_table(THD *thd, TABLE **table_ptr)
|
||||
DBUG_ENTER("close_thread_table");
|
||||
DBUG_PRINT("tcache", ("table: '%s'.'%s' 0x%lx", table->s->db.str,
|
||||
table->s->table_name.str, (long) table));
|
||||
DBUG_ASSERT(table->file->key_read == 0);
|
||||
DBUG_ASSERT(!table->file->keyread_enabled());
|
||||
DBUG_ASSERT(!table->file || table->file->inited == handler::NONE);
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user