Commit 555c6632 authored by Oleksandr Byelkin's avatar Oleksandr Byelkin

Merge branch '10.1' into 10.2

parents dc716da4 8bca92c8
...@@ -776,7 +776,7 @@ static bool mysql_admin_table(THD* thd, TABLE_LIST* tables, ...@@ -776,7 +776,7 @@ static bool mysql_admin_table(THD* thd, TABLE_LIST* tables,
*/ */
collect_eis= collect_eis=
(table->table->s->table_category == TABLE_CATEGORY_USER && (table->table->s->table_category == TABLE_CATEGORY_USER &&
!(lex->alter_info.flags &= Alter_info::ALTER_ADMIN_PARTITION) && !(lex->alter_info.flags & Alter_info::ALTER_ADMIN_PARTITION) &&
(get_use_stat_tables_mode(thd) > NEVER || (get_use_stat_tables_mode(thd) > NEVER ||
lex->with_persistent_for_clause)); lex->with_persistent_for_clause));
} }
......
...@@ -93,8 +93,7 @@ mtr_memo_slot_release_func( ...@@ -93,8 +93,7 @@ mtr_memo_slot_release_func(
{ {
fil_space_t* space = reinterpret_cast<fil_space_t*>( fil_space_t* space = reinterpret_cast<fil_space_t*>(
static_cast<char*>(object) static_cast<char*>(object)
- reinterpret_cast<char*>( - my_offsetof(fil_space_t, latch));
&static_cast<fil_space_t*>(0)->latch));
space->committed_size = space->size; space->committed_size = space->size;
rw_lock_x_unlock(&space->latch); rw_lock_x_unlock(&space->latch);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment