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
7886a70e
Commit
7886a70e
authored
Jan 23, 2019
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-17421: mtr does not restart the server whose parameters were changed
remove tests that rely on specific execution order
parent
2d098933
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
58 deletions
+0
-58
mysql-test/suite/rpl/r/mtr_restart_t1.result
mysql-test/suite/rpl/r/mtr_restart_t1.result
+0
-5
mysql-test/suite/rpl/r/mtr_restart_t2.result
mysql-test/suite/rpl/r/mtr_restart_t2.result
+0
-4
mysql-test/suite/rpl/t/mtr_restart_t1.test
mysql-test/suite/rpl/t/mtr_restart_t1.test
+0
-31
mysql-test/suite/rpl/t/mtr_restart_t2.test
mysql-test/suite/rpl/t/mtr_restart_t2.test
+0
-18
No files found.
mysql-test/suite/rpl/r/mtr_restart_t1.result
deleted
100644 → 0
View file @
2d098933
include/master-slave.inc
[connection master]
include/rpl_stop_server.inc [server_number=1]
new auto_increment_offset=111
include/rpl_end.inc
mysql-test/suite/rpl/r/mtr_restart_t2.result
deleted
100644 → 0
View file @
2d098933
include/master-slave.inc
[connection master]
auto_increment_offset=1
include/rpl_end.inc
mysql-test/suite/rpl/t/mtr_restart_t1.test
deleted
100644 → 0
View file @
2d098933
# This test verifies that mtr will restart the mysqld process,
# whose parameters were changed during the test. The verification
# itself is carried out in the following mtr_restart_t2 test.
# If mtr restart the mysqld process, then the auto_increment_offset
# parameter value will be reset to the default ("1"), but if there
# is no restart, then we will see the changed value ("111") during
# the next test.
#
--
source
include
/
have_binlog_format_row
.
inc
--
source
include
/
master
-
slave
.
inc
connection
master
;
let
$auto_increment_offset
=
`SELECT @@global.auto_increment_offset`
;
--
let
$rpl_server_number
=
1
source
include
/
rpl_stop_server
.
inc
;
--
let
$rpl_server_parameters
=--
auto
-
increment
-
offset
=
111
--
let
$keep_include_silent
=
1
source
include
/
rpl_start_server
.
inc
;
--
let
$keep_include_silent
=
0
let
$auto_increment_offset_new
=
`SELECT @@global.auto_increment_offset`
;
--
echo
new
auto_increment_offset
=
$auto_increment_offset_new
--
disable_query_log
--
eval
SET
@@
global
.
auto_increment_offset
=
$auto_increment_offset
;
--
enable_query_log
--
connection
master
--
source
include
/
rpl_end
.
inc
mysql-test/suite/rpl/t/mtr_restart_t2.test
deleted
100644 → 0
View file @
2d098933
# This test verifies that mtr will restart the mysqld process,
# whose parameters were changed during the previous test. If mtr
# restart the mysqld process, then the auto_increment_offsert
# parameter value will be reset to the default ("1"), but if there
# is no restart, then we will see the changed value ("111") in
# this test.
#
--
source
include
/
have_binlog_format_row
.
inc
--
source
include
/
master
-
slave
.
inc
connection
master
;
let
$auto_increment_offset
=
`SELECT @@global.auto_increment_offset`
;
--
echo
auto_increment_offset
=
$auto_increment_offset
--
connection
master
--
source
include
/
rpl_end
.
inc
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