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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
ebaac51c
Commit
ebaac51c
authored
Jan 27, 2014
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mtr: check that tests clean up debug_sync. fix tests that didn't.
parent
879a05ce
Changes
15
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
17 additions
and
3 deletions
+17
-3
mysql-test/include/mtr_check.sql
mysql-test/include/mtr_check.sql
+3
-0
mysql-test/r/myisam_optimize.result
mysql-test/r/myisam_optimize.result
+1
-0
mysql-test/r/processlist.result
mysql-test/r/processlist.result
+1
-0
mysql-test/r/quick_select_4161.result
mysql-test/r/quick_select_4161.result
+1
-0
mysql-test/suite/rpl/r/rpl_mdev359.result
mysql-test/suite/rpl/r/rpl_mdev359.result
+1
-0
mysql-test/suite/rpl/r/rpl_start_slave_deadlock_sys_vars.result
...test/suite/rpl/r/rpl_start_slave_deadlock_sys_vars.result
+1
-0
mysql-test/suite/rpl/r/rpl_stop_slave.result
mysql-test/suite/rpl/r/rpl_stop_slave.result
+1
-1
mysql-test/suite/rpl/t/rpl_mdev359.test
mysql-test/suite/rpl/t/rpl_mdev359.test
+1
-0
mysql-test/suite/rpl/t/rpl_start_slave_deadlock_sys_vars.test
...l-test/suite/rpl/t/rpl_start_slave_deadlock_sys_vars.test
+1
-0
mysql-test/suite/rpl/t/rpl_stop_slave.test
mysql-test/suite/rpl/t/rpl_stop_slave.test
+1
-1
mysql-test/t/myisam_optimize.test
mysql-test/t/myisam_optimize.test
+1
-0
mysql-test/t/processlist.test
mysql-test/t/processlist.test
+1
-1
mysql-test/t/quick_select_4161.test
mysql-test/t/quick_select_4161.test
+1
-0
storage/tokudb/mysql-test/tokudb_mariadb/r/optimize.result
storage/tokudb/mysql-test/tokudb_mariadb/r/optimize.result
+1
-0
storage/tokudb/mysql-test/tokudb_mariadb/t/optimize.test
storage/tokudb/mysql-test/tokudb_mariadb/t/optimize.test
+1
-0
No files found.
mysql-test/include/mtr_check.sql
View file @
ebaac51c
...
...
@@ -78,6 +78,9 @@ BEGIN
-- verify that no plugin changed its disabled/enabled state
SELECT
*
FROM
INFORMATION_SCHEMA
.
PLUGINS
;
select
*
from
information_schema
.
session_variables
where
variable_name
=
'debug_sync'
;
show
status
like
'slave_open_temp_tables'
;
END
||
...
...
mysql-test/r/myisam_optimize.result
View file @
ebaac51c
...
...
@@ -21,3 +21,4 @@ a left(b,10)
3 CCCCCCCCCC
4 CCCCCCCCCC
drop table t1;
set debug_sync='reset';
mysql-test/r/processlist.result
View file @
ebaac51c
...
...
@@ -13,3 +13,4 @@ sleep(5)
select command, time < 5 from information_schema.processlist where id != connection_id();
command time < 5
Sleep 1
set debug_sync='reset';
mysql-test/r/quick_select_4161.result
View file @
ebaac51c
...
...
@@ -29,3 +29,4 @@ kill %connection%;
set debug_sync='now signal done';
Got one of the listed errors
drop table t1;
set debug_sync='reset';
mysql-test/suite/rpl/r/rpl_mdev359.result
View file @
ebaac51c
...
...
@@ -9,5 +9,6 @@ SET DEBUG_SYNC= "now WAIT_FOR m1_ready";
SET GLOBAL rpl_semi_sync_master_enabled = OFF;
SET DEBUG_SYNC= "now SIGNAL m1_cont";
DROP TABLE t1;
SET DEBUG_SYNC= "RESET";
UNINSTALL PLUGIN rpl_semi_sync_master;
include/rpl_end.inc
mysql-test/suite/rpl/r/rpl_start_slave_deadlock_sys_vars.result
View file @
ebaac51c
...
...
@@ -28,4 +28,5 @@ SET DEBUG_SYNC='now SIGNAL go';
# connection: slave
# cleanup
SET @@GLOBAL.slave_net_timeout = @save_slave_net_timeout;
SET DEBUG_SYNC='RESET';
include/rpl_end.inc
mysql-test/suite/rpl/r/rpl_stop_slave.result
View file @
ebaac51c
...
...
@@ -113,7 +113,6 @@ ROLLBACK;
[connection master]
SET DEBUG_SYNC= 'now SIGNAL signal.continue';
SET DEBUG_SYNC= 'now WAIT_FOR signal.continued';
SET DEBUG_SYNC= 'RESET';
[connection slave]
include/wait_for_slave_to_stop.inc
[connection slave1]
...
...
@@ -121,3 +120,4 @@ include/start_slave.inc
[connection master]
DROP TABLE t1, t2;
include/rpl_end.inc
SET DEBUG_SYNC= 'RESET';
mysql-test/suite/rpl/t/rpl_mdev359.test
View file @
ebaac51c
...
...
@@ -28,6 +28,7 @@ SET DEBUG_SYNC= "now SIGNAL m1_cont";
connection
master
;
DROP
TABLE
t1
;
SET
DEBUG_SYNC
=
"RESET"
;
disable_warnings
;
UNINSTALL
PLUGIN
rpl_semi_sync_master
;
...
...
mysql-test/suite/rpl/t/rpl_start_slave_deadlock_sys_vars.test
View file @
ebaac51c
...
...
@@ -53,5 +53,6 @@ disconnect slave2;
connection
slave
;
--
echo
# cleanup
SET
@@
GLOBAL
.
slave_net_timeout
=
@
save_slave_net_timeout
;
SET
DEBUG_SYNC
=
'RESET'
;
source
include
/
rpl_end
.
inc
;
mysql-test/suite/rpl/t/rpl_stop_slave.test
View file @
ebaac51c
...
...
@@ -107,7 +107,6 @@ ROLLBACK;
--
source
include
/
rpl_connection_master
.
inc
SET
DEBUG_SYNC
=
'now SIGNAL signal.continue'
;
SET
DEBUG_SYNC
=
'now WAIT_FOR signal.continued'
;
SET
DEBUG_SYNC
=
'RESET'
;
--
source
include
/
rpl_connection_slave
.
inc
source
include
/
wait_for_slave_to_stop
.
inc
;
...
...
@@ -122,3 +121,4 @@ DROP TABLE t1, t2;
eval
SET
GLOBAL
debug_dbug
=
'$debug_save'
;
--
enable_query_log
--
source
include
/
rpl_end
.
inc
SET
DEBUG_SYNC
=
'RESET'
;
mysql-test/t/myisam_optimize.test
View file @
ebaac51c
...
...
@@ -44,4 +44,5 @@ disconnect con2;
connection
default
;
drop
table
t1
;
set
debug_sync
=
'reset'
;
mysql-test/t/processlist.test
View file @
ebaac51c
...
...
@@ -32,4 +32,4 @@ connection default;
select
command
,
time
<
5
from
information_schema
.
processlist
where
id
!=
connection_id
();
disconnect
con1
;
set
debug_sync
=
'reset'
;
mysql-test/t/quick_select_4161.test
View file @
ebaac51c
...
...
@@ -50,4 +50,5 @@ connection default;
disconnect
killee
;
drop
table
t1
;
set
debug_sync
=
'reset'
;
storage/tokudb/mysql-test/tokudb_mariadb/r/optimize.result
View file @
ebaac51c
...
...
@@ -11,3 +11,4 @@ set debug_sync='now SIGNAL go';
Table Op Msg_type Msg_text
test.t1 optimize status OK
drop table t1;
set debug_sync='reset';
storage/tokudb/mysql-test/tokudb_mariadb/t/optimize.test
View file @
ebaac51c
...
...
@@ -14,4 +14,5 @@ connection default;
reap
;
drop
table
t1
;
set
debug_sync
=
'reset'
;
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