summaryrefslogtreecommitdiff
path: root/sql/sql_priv.h
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2018-04-10 18:01:21 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2018-04-11 05:39:36 +0300
commitdd127799bc179da10cc24c5d5cd105c9a5584730 (patch)
tree18d1f0f295cf0c13af61660140c75419164f07d8 /sql/sql_priv.h
parent8334aced009e9748e17ce697191e00c9f14e78b9 (diff)
downloadmariadb-git-dd127799bc179da10cc24c5d5cd105c9a5584730.tar.gz
MDEV-15832 With innodb_fast_shutdown=3, skip the rollback of connected transactions
row_undo_step(): If innodb_fast_shutdown=3 has been requested, abort the rollback of any non-DDL transactions. Starting with MDEV-12323, we aborted the rollback of recovered transactions. The transactions would be rolled back on subsequent server startup. trx_roll_report_progress(): Renamed from trx_roll_must_shutdown(), now that the shutdown check has been moved to the only caller. trx_commit_low(): Allow mtr=NULL for transactions that are aborted on rollback. trx_rollback_finish(): Clean up aborted transactions to avoid assertion failures and memory leaks on shutdown. This code was previously in trx_rollback_active(). trx_rollback_to_savepoint_low(), trx_rollback_for_mysql_low(): Remove some redundant assertions.
Diffstat (limited to 'sql/sql_priv.h')
0 files changed, 0 insertions, 0 deletions