summaryrefslogtreecommitdiff
path: root/sql/log.cc
diff options
context:
space:
mode:
authorSachin Kumar <sachin.setiya@mariadb.com>2021-05-14 08:11:13 +0100
committerSachin Kumar <sachin.setiya@mariadb.com>2021-06-07 11:14:42 +0100
commit55c8b426fa8e841b8807f4fecc961e61765d138a (patch)
tree1eef092a0affbe624fabea97d9953943458523b7 /sql/log.cc
parent8d40039fb5a574fc1fd09b1cd7ef3161c9045f08 (diff)
downloadmariadb-git-tmp_sachin.tar.gz
Roll Forward recovery for binlog teststmp_sachin
Diffstat (limited to 'sql/log.cc')
-rw-r--r--sql/log.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/log.cc b/sql/log.cc
index ec038e42586..fc025b43fa6 100644
--- a/sql/log.cc
+++ b/sql/log.cc
@@ -2203,6 +2203,9 @@ static int binlog_commit(handlerton *hton, THD *thd, bool all)
*/
cache_mngr->reset(false, true);
THD_STAGE_INFO(thd, org_stage);
+ //todo
+ DBUG_EXECUTE_IF("simulate_crash_after_binlog_commit_or_rollback",
+ DBUG_SUICIDE(););
DBUG_RETURN(error);
}