Commit 80834a8f authored by Marko Mäkelä's avatar Marko Mäkelä

Cleanup: Remove unused DBUG_SUICIDE()

parent 4489a89c
......@@ -1096,8 +1096,6 @@ dict_create_table_step(
}
if (node->state == TABLE_ADD_TO_CACHE) {
DBUG_EXECUTE_IF("ib_ddl_crash_during_create", DBUG_SUICIDE(););
node->table->can_be_evicted = true;
node->table->add_to_cache();
......
......@@ -4510,9 +4510,6 @@ innobase_commit(
if (commit_trx
|| (!thd_test_options(thd, OPTION_NOT_AUTOCOMMIT | OPTION_BEGIN))) {
DBUG_EXECUTE_IF("crash_innodb_before_commit",
DBUG_SUICIDE(););
/* Run the fast part of commit if we did not already. */
if (!trx->active_commit_ordered) {
innobase_commit_ordered_2(trx, thd);
......@@ -10804,9 +10801,6 @@ create_table_info_t::create_table_def()
ut_ad(dict_sys.sys_tables_exist());
err = row_create_table_for_mysql(table, m_trx);
DBUG_EXECUTE_IF("ib_crash_during_create_for_encryption",
DBUG_SUICIDE(););
}
switch (err) {
......
......@@ -4966,7 +4966,6 @@ row_merge_build_indexes(
}
}
DBUG_EXECUTE_IF("ib_index_crash_after_bulk_load", DBUG_SUICIDE(););
DBUG_RETURN(error);
}
......
......@@ -1848,8 +1848,6 @@ trx_prepare(
lsn_t lsn = trx_prepare_low(trx);
DBUG_EXECUTE_IF("ib_trx_crash_during_xa_prepare_step", DBUG_SUICIDE(););
ut_a(trx->state == TRX_STATE_ACTIVE);
{
TMTrxGuard tg{*trx};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment