Skip to content

Commit 9a55b97

Browse files
author
Marko Mäkelä
committed
Make DEBUG_SYNC timeout trigger an assertion failure,
so that we get a core dump for a hang.
1 parent 87f8195 commit 9a55b97

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

sql/debug_sync.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1794,6 +1794,7 @@ static void debug_sync_execute(THD *thd, st_debug_sync_action *action)
17941794
push_warning(thd, Sql_condition::WARN_LEVEL_WARN,
17951795
ER_DEBUG_SYNC_TIMEOUT, ER(ER_DEBUG_SYNC_TIMEOUT));
17961796
thd->abort_on_warning= save_abort_on_warning;
1797+
DBUG_ASSERT(0);
17971798
break;
17981799
}
17991800
error= 0;

0 commit comments

Comments
 (0)