1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-02 14:22:51 +03:00

MDEV-10957: Assertion failure when dropping a myisam table

... with wsrep_replicate_myisam enabled

Internal updates to system statistical tables could wrongly
trigger an additional total-order replication if wsrep_repli
-cate_myisam is enabled.
Fixed by adding a check to skip total-order replication for
stat tables.
This commit is contained in:
Nirbhay Choubey
2016-12-19 15:55:55 -05:00
parent 9d8ec1468a
commit d51e7f90bf
3 changed files with 20 additions and 0 deletions

View File

@ -4068,6 +4068,7 @@ restart:
(*start) &&
(*start)->table &&
(*start)->table->file->ht == myisam_hton &&
!is_stat_table((*start)->db, (*start)->alias) &&
sqlcom_can_generate_row_events(thd) &&
thd->get_command() != COM_STMT_PREPARE)
{