diff options
author | Sergey Vojtovich <svoj@mariadb.org> | 2016-08-04 15:43:52 +0400 |
---|---|---|
committer | Sergey Vojtovich <svoj@mariadb.org> | 2016-08-17 11:12:05 +0400 |
commit | 723488bba162109f241bc764b6e33c6f3d8b39d6 (patch) | |
tree | f7e24a5fd1b51224c1b171e77263d47b7ab7cc43 /win | |
parent | 09cb64682bda8648b0cdad606b169b4d592f839d (diff) | |
download | mariadb-git-723488bba162109f241bc764b6e33c6f3d8b39d6.tar.gz |
MDEV-10424 - Assertion `ticket == __null' failed in MDL_request::set_type
Reexecution of prepared "ANALYZE TABLE merge_table, table" may miss to
reinitialize "table" for subsequent execution and trigger assertion failure.
This happens because MERGE engine may adjust table->next_global chain, which
gets cleared by close_thread_tables()/ha_myisammrg::detach_children() later.
Since reinitilization iterates next_global chain, it won't see tables following
merge table.
Fixed by appending saved next_global chain after merge children.
Diffstat (limited to 'win')
0 files changed, 0 insertions, 0 deletions