summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2023-01-04 10:04:58 +0200
committerMarko Mäkelä <marko.makela@mariadb.com>2023-01-04 10:04:58 +0200
commitfe38d7cad4fab33beba90eefaea9e9d4aef06a7c (patch)
tree9c4dc13e51dc4127b1438c7c51e6d746bc92a0a0
parente441c32a0be631c4f39c7337718d1d91ad721b79 (diff)
downloadmariadb-git-fe38d7cad4fab33beba90eefaea9e9d4aef06a7c.tar.gz
Remove redundant statements from a test
-rw-r--r--mysql-test/suite/innodb/r/insert_into_empty.result2
-rw-r--r--mysql-test/suite/innodb/t/insert_into_empty.test3
2 files changed, 0 insertions, 5 deletions
diff --git a/mysql-test/suite/innodb/r/insert_into_empty.result b/mysql-test/suite/innodb/r/insert_into_empty.result
index be5082489f8..eeff9428a49 100644
--- a/mysql-test/suite/innodb/r/insert_into_empty.result
+++ b/mysql-test/suite/innodb/r/insert_into_empty.result
@@ -197,8 +197,6 @@ DROP TABLE t1;
#
# MDEV-27214 Import with disabled keys corrupts meta-data like rows, indexes, ...
#
-SET UNIQUE_CHECKS=0;
-SET FOREIGN_KEY_CHECKS=0;
CREATE TABLE `t1` (
`id` int(11) NOT NULL,
`a` int(11) DEFAULT NULL,
diff --git a/mysql-test/suite/innodb/t/insert_into_empty.test b/mysql-test/suite/innodb/t/insert_into_empty.test
index b545927d690..58b3cdce335 100644
--- a/mysql-test/suite/innodb/t/insert_into_empty.test
+++ b/mysql-test/suite/innodb/t/insert_into_empty.test
@@ -214,8 +214,6 @@ DROP TABLE t1;
--echo # MDEV-27214 Import with disabled keys corrupts meta-data like rows, indexes, ...
--echo #
-SET UNIQUE_CHECKS=0;
-SET FOREIGN_KEY_CHECKS=0;
CREATE TABLE `t1` (
`id` int(11) NOT NULL,
`a` int(11) DEFAULT NULL,
@@ -231,5 +229,4 @@ SELECT TABLE_ROWS, AVG_ROW_LENGTH>0 FROM INFORMATION_SCHEMA.TABLES
WHERE TABLE_NAME='t1' AND TABLE_SCHEMA='test';
DROP TABLE t1;
-
--echo # End of 10.6 tests