1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

Merge branch '10.11' into 11.2

This commit is contained in:
Oleksandr Byelkin
2024-10-29 16:39:47 +01:00
660 changed files with 8148 additions and 3604 deletions

View File

@@ -1869,7 +1869,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 */
@@ -3898,7 +3898,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;
@@ -5447,7 +5447,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)
@@ -8432,7 +8432,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