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
51ea3939
Commit
51ea3939
authored
Mar 16, 2015
by
Daniel Black
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Complete test for status slave_skipped_errors
parent
eac71ced
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
1 deletion
+4
-1
mysql-test/suite/engines/funcs/t/rpl_variables.test
mysql-test/suite/engines/funcs/t/rpl_variables.test
+0
-1
mysql-test/suite/rpl/r/rpl_skip_error.result
mysql-test/suite/rpl/r/rpl_skip_error.result
+3
-0
mysql-test/suite/rpl/t/rpl_skip_error.test
mysql-test/suite/rpl/t/rpl_skip_error.test
+1
-0
No files found.
mysql-test/suite/engines/funcs/t/rpl_variables.test
View file @
51ea3939
...
@@ -15,7 +15,6 @@ show variables like 'slave_load_tmpdir';
...
@@ -15,7 +15,6 @@ show variables like 'slave_load_tmpdir';
# We just set some arbitrary values in variables-master.opt so we can test
# We just set some arbitrary values in variables-master.opt so we can test
# that a list of values works correctly
# that a list of values works correctly
show
variables
like
'slave_skip_errors'
;
show
variables
like
'slave_skip_errors'
;
show
global
status
like
'slave_skipped_errors'
;
# Cleanup
# Cleanup
set
global
slave_net_timeout
=@
my_slave_net_timeout
;
set
global
slave_net_timeout
=@
my_slave_net_timeout
;
...
...
mysql-test/suite/rpl/r/rpl_skip_error.result
View file @
51ea3939
...
@@ -104,6 +104,9 @@ DELETE FROM t2 WHERE id = 5;
...
@@ -104,6 +104,9 @@ DELETE FROM t2 WHERE id = 5;
SET SQL_LOG_BIN=1;
SET SQL_LOG_BIN=1;
UPDATE t2 SET id= id + 3, data = 2;
UPDATE t2 SET id= id + 3, data = 2;
show global status like 'slave_skipped_errors';
Variable_name Value
Slave_skipped_errors 5
**** We cannot execute a select as there are differences in the
**** We cannot execute a select as there are differences in the
**** behavior between STMT and RBR.
**** behavior between STMT and RBR.
==== Clean Up ====
==== Clean Up ====
...
...
mysql-test/suite/rpl/t/rpl_skip_error.test
View file @
51ea3939
...
@@ -157,6 +157,7 @@ sync_slave_with_master;
...
@@ -157,6 +157,7 @@ sync_slave_with_master;
let
$error
=
query_get_value
(
"SHOW SLAVE STATUS"
,
Last_SQL_Error
,
1
);
let
$error
=
query_get_value
(
"SHOW SLAVE STATUS"
,
Last_SQL_Error
,
1
);
echo
$error
;
echo
$error
;
show
global
status
like
'slave_skipped_errors'
;
--
echo
****
We
cannot
execute
a
select
as
there
are
differences
in
the
--
echo
****
We
cannot
execute
a
select
as
there
are
differences
in
the
--
echo
****
behavior
between
STMT
and
RBR
.
--
echo
****
behavior
between
STMT
and
RBR
.
...
...
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