diff options
author | Michael Widenius <monty@mariadb.org> | 2017-07-30 11:45:49 +0300 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2017-08-24 01:05:52 +0200 |
commit | 8e722064f7e9899d830b130060c748239a07e79b (patch) | |
tree | 32a9545664f2bd108bc01f4fc76e1267b0a292dc /sql/debug_sync.cc | |
parent | 94bbe8ad5837ed53976d0d98bbcc7eb3faff7a0f (diff) | |
download | mariadb-git-8e722064f7e9899d830b130060c748239a07e79b.tar.gz |
Remove dumping of some not needed core's when running test suite
Before this patch running full mtr generated some 70 cores (at least
on systemd). Now no cores should be generated.
- Changed DBUG_ABORT()'s used by mysql-test-run to DBUG_SUICIDE()
- Changed DBUG_ABORT() used to crash server with core to DBUG_ASSERT(0)
- DBUG_ASSERT now flushes DBUG files
Diffstat (limited to 'sql/debug_sync.cc')
-rw-r--r-- | sql/debug_sync.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/debug_sync.cc b/sql/debug_sync.cc index f0bab73a048..94743a3b0af 100644 --- a/sql/debug_sync.cc +++ b/sql/debug_sync.cc @@ -1457,7 +1457,7 @@ static void debug_sync_execute(THD *thd, st_debug_sync_action *action) ER_DEBUG_SYNC_TIMEOUT, ER_THD(thd, ER_DEBUG_SYNC_TIMEOUT)); thd->abort_on_warning= save_abort_on_warning; - DBUG_EXECUTE_IF("debug_sync_abort_on_timeout", DBUG_ABORT();); + DBUG_EXECUTE_IF("debug_sync_abort_on_timeout", DBUG_ASSERT(0);); break; } error= 0; |