summaryrefslogtreecommitdiff
path: root/sql/field.h
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2018-08-31 13:16:31 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2018-08-31 13:16:31 +0300
commitf693170c75a1f39f3f06aca683fe4a1998785008 (patch)
tree1459a2cbaadc0a7a34b0ffb51e326be69597f93f /sql/field.h
parent3b5d3cd68e4acceb613822adc66b87f396920e59 (diff)
downloadmariadb-git-f693170c75a1f39f3f06aca683fe4a1998785008.tar.gz
MDEV-16647 InnoDB fails to drop large temporary table on disconnect
This regression was introduced in MDEV-16515. We would fail to drop a temporary table on client disconnect, because trx_is_interrupted() would hold. To add insult to injury, in MariaDB 10.1, InnoDB temporary tables are actually persistent, so the garbage temporary tables will never be dropped. row_drop_table_for_mysql(): If several iterations of buf_LRU_drop_page_hash_for_tablespace() are needed, do not interrupt dropping a temporary table even after the transaction was marked as killed. Server shutdown will still terminate the loop, and also DROP TABLE of persistent tables will keep checking if the execution was aborted.
Diffstat (limited to 'sql/field.h')
0 files changed, 0 insertions, 0 deletions