@@ -28,7 +28,7 @@ ERROR HY000: Can't generate a unique log-filename master-bin.(1-999)
28
28
show binary logs;
29
29
Log_name File_size
30
30
master-bin.000001 #
31
- SET GLOBAL debug_dbug="" ;
31
+ SET GLOBAL debug_dbug=@old_debug ;
32
32
RESET MASTER;
33
33
###################### TEST #3
34
34
CREATE TABLE t1 (a INT);
@@ -42,7 +42,7 @@ show binary logs;
42
42
Log_name File_size
43
43
master-bin.000001 #
44
44
master-bin.000002 #
45
- SET GLOBAL debug_dbug="-d,error_unique_log_filename" ;
45
+ SET GLOBAL debug_dbug=@old_debug ;
46
46
DELETE FROM t2;
47
47
RESET MASTER;
48
48
###################### TEST #4
@@ -54,7 +54,7 @@ ERROR HY000: Can't generate a unique log-filename master-bin.(1-999)
54
54
SELECT count(*) FROM t2;
55
55
count(*)
56
56
1
57
- SET GLOBAL debug_dbug="-d,error_unique_log_filename" ;
57
+ SET GLOBAL debug_dbug=@old_debug ;
58
58
DELETE FROM t2;
59
59
RESET MASTER;
60
60
###################### TEST #5
@@ -64,7 +64,7 @@ LOAD DATA INFILE 'MYSQLTEST_VARDIR/tmp/bug_46166-2.data' INTO TABLE t2;
64
64
SELECT count(*) FROM t2;
65
65
count(*)
66
66
1
67
- SET GLOBAL debug_dbug="-d,error_unique_log_filename" ;
67
+ SET GLOBAL debug_dbug=@old_debug ;
68
68
DELETE FROM t2;
69
69
RESET MASTER;
70
70
###################### TEST #6
@@ -81,7 +81,7 @@ SELECT count(*) FROM t2;
81
81
count(*)
82
82
3
83
83
SET AUTOCOMMIT= 1;
84
- SET GLOBAL debug_dbug="-d,error_unique_log_filename" ;
84
+ SET GLOBAL debug_dbug=@old_debug ;
85
85
DELETE FROM t2;
86
86
RESET MASTER;
87
87
###################### TEST #7
@@ -97,7 +97,7 @@ SELECT count(*) FROM t4;
97
97
count(*)
98
98
1
99
99
### check that the incident event is written to the current log
100
- SET GLOBAL debug_dbug="-d,error_unique_log_filename" ;
100
+ SET GLOBAL debug_dbug=@old_debug ;
101
101
include/show_binlog_events.inc
102
102
Log_name Pos Event_type Server_id End_log_pos Info
103
103
master-bin.000001 # Incident # # #1 (LOST_EVENTS)
@@ -144,7 +144,7 @@ count(*)
144
144
SELECT count(*) FROM t2;
145
145
count(*)
146
146
0
147
- SET GLOBAL debug_dbug="-d,error_unique_log_filename" ;
147
+ SET GLOBAL debug_dbug=@old_debug ;
148
148
###################### TEST #9
149
149
SET GLOBAL debug_dbug="+d,error_unique_log_filename";
150
150
SET SQL_LOG_BIN=0;
@@ -167,7 +167,7 @@ SELECT count(*) FROM t4;
167
167
count(*)
168
168
0
169
169
SET SQL_LOG_BIN=1;
170
- SET GLOBAL debug_dbug="-d,error_unique_log_filename" ;
170
+ SET GLOBAL debug_dbug=@old_debug ;
171
171
###################### TEST #10
172
172
call mtr.add_suppression("MSYQL_BIN_LOG::open failed to sync the index file.");
173
173
call mtr.add_suppression("Could not open .*");
@@ -215,7 +215,6 @@ DELETE FROM t4;
215
215
DELETE FROM t2;
216
216
DROP TABLE t5;
217
217
include/rpl_restart_server.inc [server_number=1]
218
- SET GLOBAL debug_dbug= @old_debug;
219
218
DROP TABLE t1, t2, t4;
220
219
RESET MASTER;
221
220
include/start_slave.inc
@@ -271,7 +270,6 @@ include/rpl_restart_server.inc [server_number=2]
271
270
include/stop_slave_sql.inc
272
271
Warnings:
273
272
Note 1255 Slave already has been stopped
274
- SET GLOBAL debug_dbug=@old_debug;
275
273
RESET SLAVE;
276
274
RESET MASTER;
277
275
include/rpl_end.inc
0 commit comments