diff options
Diffstat (limited to 'sql/log.cc')
-rw-r--r-- | sql/log.cc | 3 |
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); } |