145
149
table->field[1]->store(open_list.table.c_str(), open_list.table.length(), system_charset_info);
146
150
table->field[2]->store((int64_t) open_list.in_use, true);
147
151
table->field[3]->store((int64_t) open_list.locked, true);
156
161
const char *wild= session->lex->wild ? session->lex->wild->ptr() : NULL;
158
if ((list_open_tables(session->lex->select_lex.db, wild, open_list_store, tables->table) == true) && session->is_fatal_error)
163
if ((list_open_tables(session->lex->select_lex.db, wild, open_list_store, table, schema_table) == true) && session->is_fatal_error)