Skip to content

Commit

Permalink
main.mysqldump test isn't that big
Browse files Browse the repository at this point in the history
and it is that important to be run every time
  • Loading branch information
vuvova committed Feb 1, 2021
1 parent a7b6943 commit 251b521
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 19 deletions.
6 changes: 1 addition & 5 deletions mysql-test/main/mysqldump.result
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
call mtr.add_suppression("@003f.frm' \\(errno: 22\\)");
call mtr.add_suppression("Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT");
# Bug#37938 Test "mysqldump" lacks various insert statements
# Turn off concurrent inserts to avoid random errors
# NOTE: We reset the variable back to saved value at the end of test
SET @OLD_CONCURRENT_INSERT = @@GLOBAL.CONCURRENT_INSERT;
SET @@GLOBAL.CONCURRENT_INSERT = 0;
DROP TABLE IF EXISTS t1, `"t"1`, t1aa, t2, t2aa, t3;
drop database if exists mysqldump_test_db;
drop database if exists db1;
drop database if exists db2;
drop view if exists v1, v2, v3;
CREATE TABLE t1(a INT, KEY (a)) KEY_BLOCK_SIZE=1024;
INSERT INTO t1 VALUES (1), (2);
<?xml version="1.0"?>
Expand Down
14 changes: 0 additions & 14 deletions mysql-test/main/mysqldump.test
Original file line number Diff line number Diff line change
Expand Up @@ -19,28 +19,14 @@ let collation=utf8_unicode_ci;
# There are tables in 'mysql' database of type innodb
--source include/have_innodb.inc

# This test is slow on buildbot.
--source include/big_test.inc

disable_query_log;
call mtr.add_suppression("Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT");
enable_query_log;

--echo # Bug#37938 Test "mysqldump" lacks various insert statements
--echo # Turn off concurrent inserts to avoid random errors
--echo # NOTE: We reset the variable back to saved value at the end of test
SET @OLD_CONCURRENT_INSERT = @@GLOBAL.CONCURRENT_INSERT;
SET @@GLOBAL.CONCURRENT_INSERT = 0;


--disable_warnings
DROP TABLE IF EXISTS t1, `"t"1`, t1aa, t2, t2aa, t3;
drop database if exists mysqldump_test_db;
drop database if exists db1;
drop database if exists db2;
drop view if exists v1, v2, v3;
--enable_warnings

# XML output

CREATE TABLE t1(a INT, KEY (a)) KEY_BLOCK_SIZE=1024;
Expand Down

0 comments on commit 251b521

Please sign in to comment.