Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
251b5219
Commit
251b5219
authored
Feb 01, 2021
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
main.mysqldump test isn't that big
and it is that important to be run every time
parent
a7b6943e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
19 deletions
+1
-19
mysql-test/main/mysqldump.result
mysql-test/main/mysqldump.result
+1
-5
mysql-test/main/mysqldump.test
mysql-test/main/mysqldump.test
+0
-14
No files found.
mysql-test/main/mysqldump.result
View file @
251b5219
call mtr.add_suppression("@003f.frm' \\(errno: 22\\)");
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
# Bug#37938 Test "mysqldump" lacks various insert statements
# Turn off concurrent inserts to avoid random errors
# Turn off concurrent inserts to avoid random errors
# NOTE: We reset the variable back to saved value at the end of test
# NOTE: We reset the variable back to saved value at the end of test
SET @OLD_CONCURRENT_INSERT = @@GLOBAL.CONCURRENT_INSERT;
SET @OLD_CONCURRENT_INSERT = @@GLOBAL.CONCURRENT_INSERT;
SET @@GLOBAL.CONCURRENT_INSERT = 0;
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;
CREATE TABLE t1(a INT, KEY (a)) KEY_BLOCK_SIZE=1024;
INSERT INTO t1 VALUES (1), (2);
INSERT INTO t1 VALUES (1), (2);
<?xml version="1.0"?>
<?xml version="1.0"?>
...
...
mysql-test/main/mysqldump.test
View file @
251b5219
...
@@ -19,12 +19,7 @@ let collation=utf8_unicode_ci;
...
@@ -19,12 +19,7 @@ let collation=utf8_unicode_ci;
# There are tables in 'mysql' database of type innodb
# There are tables in 'mysql' database of type innodb
--
source
include
/
have_innodb
.
inc
--
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"
);
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
# Bug#37938 Test "mysqldump" lacks various insert statements
--
echo
# Turn off concurrent inserts to avoid random errors
--
echo
# Turn off concurrent inserts to avoid random errors
...
@@ -32,15 +27,6 @@ enable_query_log;
...
@@ -32,15 +27,6 @@ enable_query_log;
SET
@
OLD_CONCURRENT_INSERT
=
@@
GLOBAL
.
CONCURRENT_INSERT
;
SET
@
OLD_CONCURRENT_INSERT
=
@@
GLOBAL
.
CONCURRENT_INSERT
;
SET
@@
GLOBAL
.
CONCURRENT_INSERT
=
0
;
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
# XML output
CREATE
TABLE
t1
(
a
INT
,
KEY
(
a
))
KEY_BLOCK_SIZE
=
1024
;
CREATE
TABLE
t1
(
a
INT
,
KEY
(
a
))
KEY_BLOCK_SIZE
=
1024
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment