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
ef0db6bf
Commit
ef0db6bf
authored
Jan 29, 2017
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix rpl_binlog_errors test not to leave dbug enabled
parent
d2f84ab9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
12 deletions
+12
-12
mysql-test/extra/rpl_tests/rpl_binlog_errors.inc
mysql-test/extra/rpl_tests/rpl_binlog_errors.inc
+4
-4
mysql-test/suite/binlog_encryption/rpl_binlog_errors.result
mysql-test/suite/binlog_encryption/rpl_binlog_errors.result
+4
-4
mysql-test/suite/rpl/r/rpl_binlog_errors.result
mysql-test/suite/rpl/r/rpl_binlog_errors.result
+4
-4
No files found.
mysql-test/extra/rpl_tests/rpl_binlog_errors.inc
View file @
ef0db6bf
...
...
@@ -50,7 +50,7 @@ call mtr.add_suppression("Can't generate a unique log-filename");
call
mtr
.
add_suppression
(
"Writing one row to the row-based binary log failed.*"
);
call
mtr
.
add_suppression
(
"Error writing file .*"
);
SET
@
old_debug
=
@@
global
.
debug
;
SET
@
old_debug
=
@@
global
.
debug
_dbug
;
### ACTION: create a large file (> 4096 bytes) that will be later used
### in LOAD DATA INFILE to check binlog errors in its vacinity
...
...
@@ -296,7 +296,7 @@ SET GLOBAL debug_dbug="+d,fault_injection_registering_index";
--
replace_regex
/
\
.
[
\\\
/
]
master
/
master
/
--
error
ER_CANT_OPEN_FILE
FLUSH
LOGS
;
SET
GLOBAL
debug_dbug
=
"-d,fault_injection_registering_index"
;
SET
GLOBAL
debug_dbug
=
@
old_debug
;
--
error
ER_NO_BINARY_LOGGING
SHOW
BINARY
LOGS
;
...
...
@@ -324,7 +324,7 @@ SET GLOBAL debug_dbug="+d,fault_injection_openning_index";
--
replace_regex
/
\
.
[
\\\
/
]
master
/
master
/
--
error
ER_CANT_OPEN_FILE
FLUSH
LOGS
;
SET
GLOBAL
debug_dbug
=
"-d,fault_injection_openning_index"
;
SET
GLOBAL
debug_dbug
=
@
old_debug
;
--
error
ER_FLUSH_MASTER_BINLOG_CLOSED
RESET
MASTER
;
...
...
@@ -351,7 +351,7 @@ DROP TABLE t5;
SET
GLOBAL
debug_dbug
=
"+d,fault_injection_new_file_rotate_event"
;
--
error
ER_ERROR_ON_WRITE
FLUSH
LOGS
;
SET
GLOBAL
debug_dbug
=
"-d,fault_injection_new_file_rotate_event"
;
SET
GLOBAL
debug_dbug
=
@
old_debug
;
--
error
ER_FLUSH_MASTER_BINLOG_CLOSED
RESET
MASTER
;
...
...
mysql-test/suite/binlog_encryption/rpl_binlog_errors.result
View file @
ef0db6bf
...
...
@@ -9,7 +9,7 @@ connection master;
call mtr.add_suppression("Can't generate a unique log-filename");
call mtr.add_suppression("Writing one row to the row-based binary log failed.*");
call mtr.add_suppression("Error writing file .*");
SET @old_debug= @@global.debug;
SET @old_debug= @@global.debug
_dbug
;
SELECT repeat('x',8192) INTO OUTFILE 'MYSQLTEST_VARDIR/tmp/bug_46166.data';
SELECT repeat('x',10) INTO OUTFILE 'MYSQLTEST_VARDIR/tmp/bug_46166-2.data';
RESET MASTER;
...
...
@@ -180,7 +180,7 @@ Level Code Message
SET GLOBAL debug_dbug="+d,fault_injection_registering_index";
FLUSH LOGS;
ERROR HY000: Can't open file: 'master-bin.000002' (errno: 1 "Operation not permitted")
SET GLOBAL debug_dbug=
"-d,fault_injection_registering_index"
;
SET GLOBAL debug_dbug=
@old_debug
;
SHOW BINARY LOGS;
ERROR HY000: You are not using binary logging
CREATE TABLE t5 (a INT);
...
...
@@ -194,7 +194,7 @@ include/rpl_restart_server.inc [server_number=1]
SET GLOBAL debug_dbug="+d,fault_injection_openning_index";
FLUSH LOGS;
ERROR HY000: Can't open file: 'master-bin.index' (errno: 1 "Operation not permitted")
SET GLOBAL debug_dbug=
"-d,fault_injection_openning_index"
;
SET GLOBAL debug_dbug=
@old_debug
;
RESET MASTER;
ERROR HY000: Binlog closed, cannot RESET MASTER
CREATE TABLE t5 (a INT);
...
...
@@ -208,7 +208,7 @@ include/rpl_restart_server.inc [server_number=1]
SET GLOBAL debug_dbug="+d,fault_injection_new_file_rotate_event";
FLUSH LOGS;
ERROR HY000: Can't open file: 'master-bin' (errno: 2 "No such file or directory")
SET GLOBAL debug_dbug=
"-d,fault_injection_new_file_rotate_event"
;
SET GLOBAL debug_dbug=
@old_debug
;
RESET MASTER;
ERROR HY000: Binlog closed, cannot RESET MASTER
CREATE TABLE t5 (a INT);
...
...
mysql-test/suite/rpl/r/rpl_binlog_errors.result
View file @
ef0db6bf
...
...
@@ -9,7 +9,7 @@ connection master;
call mtr.add_suppression("Can't generate a unique log-filename");
call mtr.add_suppression("Writing one row to the row-based binary log failed.*");
call mtr.add_suppression("Error writing file .*");
SET @old_debug= @@global.debug;
SET @old_debug= @@global.debug
_dbug
;
SELECT repeat('x',8192) INTO OUTFILE 'MYSQLTEST_VARDIR/tmp/bug_46166.data';
SELECT repeat('x',10) INTO OUTFILE 'MYSQLTEST_VARDIR/tmp/bug_46166-2.data';
RESET MASTER;
...
...
@@ -180,7 +180,7 @@ Level Code Message
SET GLOBAL debug_dbug="+d,fault_injection_registering_index";
FLUSH LOGS;
ERROR HY000: Can't open file: 'master-bin.000002' (errno: 1 "Operation not permitted")
SET GLOBAL debug_dbug=
"-d,fault_injection_registering_index"
;
SET GLOBAL debug_dbug=
@old_debug
;
SHOW BINARY LOGS;
ERROR HY000: You are not using binary logging
CREATE TABLE t5 (a INT);
...
...
@@ -194,7 +194,7 @@ include/rpl_restart_server.inc [server_number=1]
SET GLOBAL debug_dbug="+d,fault_injection_openning_index";
FLUSH LOGS;
ERROR HY000: Can't open file: 'master-bin.index' (errno: 1 "Operation not permitted")
SET GLOBAL debug_dbug=
"-d,fault_injection_openning_index"
;
SET GLOBAL debug_dbug=
@old_debug
;
RESET MASTER;
ERROR HY000: Binlog closed, cannot RESET MASTER
CREATE TABLE t5 (a INT);
...
...
@@ -208,7 +208,7 @@ include/rpl_restart_server.inc [server_number=1]
SET GLOBAL debug_dbug="+d,fault_injection_new_file_rotate_event";
FLUSH LOGS;
ERROR HY000: Can't open file: 'master-bin' (errno: 2 "No such file or directory")
SET GLOBAL debug_dbug=
"-d,fault_injection_new_file_rotate_event"
;
SET GLOBAL debug_dbug=
@old_debug
;
RESET MASTER;
ERROR HY000: Binlog closed, cannot RESET MASTER
CREATE TABLE t5 (a INT);
...
...
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