mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
Merge branch '11.2' into 11.4
This commit is contained in:
@@ -1885,7 +1885,7 @@ static void add_table_options(THD *thd, TABLE *table,
|
||||
hton= table->part_info->default_engine_type;
|
||||
else
|
||||
#endif
|
||||
hton= table->file->ht;
|
||||
hton= table->file->storage_ht();
|
||||
|
||||
bzero((char*) &create_info, sizeof(create_info));
|
||||
/* Allow update_create_info to update row type, page checksums and options */
|
||||
@@ -3915,7 +3915,7 @@ static bool show_status_array(THD *thd, const char *wild,
|
||||
if ((wild_checked ||
|
||||
!(wild && wild[0] && wild_case_compare(system_charset_info,
|
||||
name_buffer, wild))) &&
|
||||
(!cond || cond->val_int()))
|
||||
(!cond || cond->val_bool()))
|
||||
{
|
||||
const char *pos; // We assign a lot of const's
|
||||
size_t length;
|
||||
@@ -5506,7 +5506,7 @@ int get_all_tables(THD *thd, TABLE_LIST *tables, COND *cond)
|
||||
table->field[schema_table->idx_field2]->
|
||||
store(table_name->str, table_name->length, system_charset_info);
|
||||
|
||||
if (!partial_cond || partial_cond->val_int())
|
||||
if (!partial_cond || partial_cond->val_bool())
|
||||
{
|
||||
/*
|
||||
If table is I_S.tables and open_table_method is 0 (eg SKIP_OPEN)
|
||||
@@ -8505,7 +8505,7 @@ int fill_status(THD *thd, TABLE_LIST *tables, COND *cond)
|
||||
COND *partial_cond= make_cond_for_info_schema(thd, cond, tables);
|
||||
// Evaluate and cache const subqueries now, before the mutex.
|
||||
if (partial_cond)
|
||||
partial_cond->val_int();
|
||||
partial_cond->val_bool();
|
||||
|
||||
tmp.local_memory_used= 0; // meaning tmp was not populated yet
|
||||
|
||||
|
Reference in New Issue
Block a user