1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

Remove unnecessary have_debug.inc, not_valgrind.inc

Use include/kill_and_restart_mysqld.inc instead of triggering
DBUG_SUICIDE() with debug instrumentation. In this way, more tests
can be run with --valgrind or on non-debug servers.
This commit is contained in:
Marko Mäkelä
2017-02-08 11:40:09 +02:00
parent cbdc389ec9
commit 981534b1dd
8 changed files with 26 additions and 173 deletions

View File

@ -33,9 +33,9 @@ a
1
2
3
SET DEBUG_DBUG='+d,crash_commit_before';
BEGIN;
INSERT INTO t2 VALUES (42);
ERROR HY000: Lost connection to MySQL server during query
# Kill and restart
ERROR HY000: Lost connection to MySQL server during query
CHECK TABLE t1;
Table Op Msg_type Msg_text
@ -70,9 +70,7 @@ SELECT info FROM information_schema.processlist
WHERE state = 'debug sync point: before_row_upd_extern';
info
UPDATE t3 SET c=REPEAT('i',3000) WHERE a=2
SET DEBUG_DBUG='+d,crash_commit_before';
COMMIT;
ERROR HY000: Lost connection to MySQL server during query
# Kill and restart
ERROR HY000: Lost connection to MySQL server during query
CHECK TABLE t1,t2,t3;
Table Op Msg_type Msg_text
@ -97,9 +95,7 @@ SELECT info FROM information_schema.processlist
WHERE state = 'debug sync point: after_row_upd_extern';
info
UPDATE t3 SET c=REPEAT('j',3000) WHERE a=2
SET DEBUG_DBUG='+d,crash_commit_before';
COMMIT;
ERROR HY000: Lost connection to MySQL server during query
# Kill and restart
ERROR HY000: Lost connection to MySQL server during query
CHECK TABLE t1,t2,t3;
Table Op Msg_type Msg_text