crash in multi-table delete and mdl

Description

A statement like

will crash the server when the client disconnects. Crash happens when trying to free THD::st_transaction::mem_root, because mem_root->free->next pointer is corrupted. It's corrupted in here

Environment

None

Assignee

Sergei Golubchik

Reporter

Sergei Golubchik

Labels

None

Fix versions

Affects versions

Priority

Blocker
Configure