Skip to content

Commit 555c663

Browse files
committed
Merge branch '10.1' into 10.2
2 parents dc716da + 8bca92c commit 555c663

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

sql/sql_admin.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -776,7 +776,7 @@ static bool mysql_admin_table(THD* thd, TABLE_LIST* tables,
776776
*/
777777
collect_eis=
778778
(table->table->s->table_category == TABLE_CATEGORY_USER &&
779-
!(lex->alter_info.flags &= Alter_info::ALTER_ADMIN_PARTITION) &&
779+
!(lex->alter_info.flags & Alter_info::ALTER_ADMIN_PARTITION) &&
780780
(get_use_stat_tables_mode(thd) > NEVER ||
781781
lex->with_persistent_for_clause));
782782
}

storage/xtradb/mtr/mtr0mtr.cc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,7 @@ mtr_memo_slot_release_func(
9393
{
9494
fil_space_t* space = reinterpret_cast<fil_space_t*>(
9595
static_cast<char*>(object)
96-
- reinterpret_cast<char*>(
97-
&static_cast<fil_space_t*>(0)->latch));
96+
- my_offsetof(fil_space_t, latch));
9897
space->committed_size = space->size;
9998
rw_lock_x_unlock(&space->latch);
10099
}

0 commit comments

Comments
 (0)