1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +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

@ -1,4 +1,3 @@
DROP TABLE IF EXISTS bug_53756 ;
CREATE TABLE bug_53756 (pk INT, c1 INT) ENGINE=InnoDB;
ALTER TABLE bug_53756 ADD PRIMARY KEY (pk);
INSERT INTO bug_53756 VALUES(1, 11), (2, 22), (3, 33), (4, 44);
@ -86,21 +85,9 @@ pk c1
2 22
3 77
4 44
# connection default
#
# Crash server.
START TRANSACTION;
INSERT INTO bug_53756 VALUES (666,666);
SET SESSION debug_dbug="+d,crash_commit_before";
COMMIT;
ERROR HY000: Lost connection to MySQL server during query
#
# disconnect con1, con2, con3, con4, con5, con6.
#
# Restart server.
# Kill and restart
#
# Select recovered data.
# Delete of row 1 was committed.
@ -113,6 +100,4 @@ pk c1
2 22
3 77
4 44
# Clean up.
DROP TABLE bug_53756;