mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MDEV-17289: Skip the test for non-debug server
This commit is contained in:
10
mysql-test/suite/innodb/r/innodb-index,debug.rdiff
Normal file
10
mysql-test/suite/innodb/r/innodb-index,debug.rdiff
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
--- innodb-index.result
|
||||||
|
+++ innodb-index.reject
|
||||||
|
@@ -1851,6 +1851,7 @@
|
||||||
|
#
|
||||||
|
# MDEV-15325 Incomplete validation of missing tablespace during recovery
|
||||||
|
#
|
||||||
|
+SET GLOBAL DEBUG_DBUG='+d,fil_names_write_bogus';
|
||||||
|
CREATE TABLE t1(f1 INT PRIMARY KEY)ENGINE=InnoDB;
|
||||||
|
CREATE TABLE t2(f1 INT PRIMARY KEY)ENGINE=InnoDB;
|
||||||
|
# Kill the server
|
@ -1851,7 +1851,6 @@ drop table t1;
|
|||||||
#
|
#
|
||||||
# MDEV-15325 Incomplete validation of missing tablespace during recovery
|
# MDEV-15325 Incomplete validation of missing tablespace during recovery
|
||||||
#
|
#
|
||||||
SET GLOBAL DEBUG_DBUG='+d,fil_names_write_bogus';
|
|
||||||
CREATE TABLE t1(f1 INT PRIMARY KEY)ENGINE=InnoDB;
|
CREATE TABLE t1(f1 INT PRIMARY KEY)ENGINE=InnoDB;
|
||||||
CREATE TABLE t2(f1 INT PRIMARY KEY)ENGINE=InnoDB;
|
CREATE TABLE t2(f1 INT PRIMARY KEY)ENGINE=InnoDB;
|
||||||
# Kill the server
|
# Kill the server
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
-- source include/have_innodb.inc
|
-- source include/have_innodb.inc
|
||||||
# Embedded server tests do not support restarting.
|
# Embedded server tests do not support restarting.
|
||||||
-- source include/not_embedded.inc
|
-- source include/not_embedded.inc
|
||||||
|
-- source include/maybe_debug.inc
|
||||||
|
|
||||||
let $MYSQLD_DATADIR= `select @@datadir`;
|
let $MYSQLD_DATADIR= `select @@datadir`;
|
||||||
|
|
||||||
@ -1084,7 +1085,9 @@ drop table t1;
|
|||||||
--echo #
|
--echo #
|
||||||
|
|
||||||
--source include/no_checkpoint_start.inc
|
--source include/no_checkpoint_start.inc
|
||||||
|
if ($have_debug) {
|
||||||
SET GLOBAL DEBUG_DBUG='+d,fil_names_write_bogus';
|
SET GLOBAL DEBUG_DBUG='+d,fil_names_write_bogus';
|
||||||
|
}
|
||||||
CREATE TABLE t1(f1 INT PRIMARY KEY)ENGINE=InnoDB;
|
CREATE TABLE t1(f1 INT PRIMARY KEY)ENGINE=InnoDB;
|
||||||
|
|
||||||
CREATE TABLE t2(f1 INT PRIMARY KEY)ENGINE=InnoDB;
|
CREATE TABLE t2(f1 INT PRIMARY KEY)ENGINE=InnoDB;
|
||||||
|
Reference in New Issue
Block a user