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
9c8b4c93
Commit
9c8b4c93
authored
May 24, 2005
by
acurtis@xiphis.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix after merge
parent
4a77feba
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
8 deletions
+22
-8
mysql-test/r/rpl_log.result
mysql-test/r/rpl_log.result
+6
-2
mysql-test/r/rpl_rotate_logs.result
mysql-test/r/rpl_rotate_logs.result
+16
-6
No files found.
mysql-test/r/rpl_log.result
View file @
9c8b4c93
...
@@ -70,12 +70,16 @@ master-bin.000002 434 Query 1 510 use `test`; drop table t1
...
@@ -70,12 +70,16 @@ master-bin.000002 434 Query 1 510 use `test`; drop table t1
show binary logs;
show binary logs;
Log_name File_size
Log_name File_size
master-bin.000001 0
master-bin.000001 0
master-bin.000002 276
master-bin.000002 510
Warnings:
Error 29 File 'master-bin.000001' not found (Errcode: 2)
start slave;
start slave;
show binary logs;
show binary logs;
Log_name File_size
Log_name File_size
slave-bin.000001 0
slave-bin.000001 0
slave-bin.000002 170
slave-bin.000002 348
Warnings:
Error 29 File 'slave-bin.000001' not found (Errcode: 2)
show binlog events in 'slave-bin.000001' from 4;
show binlog events in 'slave-bin.000001' from 4;
Log_name Pos Event_type Server_id End_log_pos Info
Log_name Pos Event_type Server_id End_log_pos Info
slave-bin.000001 4 Format_desc 2 98 Server ver: VERSION, Binlog ver: 4
slave-bin.000001 4 Format_desc 2 98 Server ver: VERSION, Binlog ver: 4
...
...
mysql-test/r/rpl_rotate_logs.result
View file @
9c8b4c93
...
@@ -29,7 +29,10 @@ show binary logs;
...
@@ -29,7 +29,10 @@ show binary logs;
Log_name File_size
Log_name File_size
master-bin.000001 0
master-bin.000001 0
master-bin.000002 0
master-bin.000002 0
master-bin.000003 4
master-bin.000003 98
Warnings:
Error 29 File 'master-bin.000001' not found (Errcode: 2)
Error 29 File 'master-bin.000002' not found (Errcode: 2)
create table t3 select * from temp_table;
create table t3 select * from temp_table;
select * from t3;
select * from t3;
a
a
...
@@ -44,16 +47,20 @@ purge master logs to 'master-bin.000002';
...
@@ -44,16 +47,20 @@ purge master logs to 'master-bin.000002';
show master logs;
show master logs;
Log_name File_size
Log_name File_size
master-bin.000002 0
master-bin.000002 0
master-bin.000003 229
master-bin.000003 407
Warnings:
Error 29 File 'master-bin.000002' not found (Errcode: 2)
purge binary logs to 'master-bin.000002';
purge binary logs to 'master-bin.000002';
show binary logs;
show binary logs;
Log_name File_size
Log_name File_size
master-bin.000002 0
master-bin.000002 0
master-bin.000003 229
master-bin.000003 407
Warnings:
Error 29 File 'master-bin.000002' not found (Errcode: 2)
purge master logs before now();
purge master logs before now();
show binary logs;
show binary logs;
Log_name File_size
Log_name File_size
master-bin.000003
229
master-bin.000003
407
insert into t2 values (65);
insert into t2 values (65);
show slave status;
show slave status;
Slave_IO_State Master_Host Master_User Master_Port Connect_Retry Master_Log_File Read_Master_Log_Pos Relay_Log_File Relay_Log_Pos Relay_Master_Log_File Slave_IO_Running Slave_SQL_Running Replicate_Do_DB Replicate_Ignore_DB Replicate_Do_Table Replicate_Ignore_Table Replicate_Wild_Do_Table Replicate_Wild_Ignore_Table Last_Errno Last_Error Skip_Counter Exec_Master_Log_Pos Relay_Log_Space Until_Condition Until_Log_File Until_Log_Pos Master_SSL_Allowed Master_SSL_CA_File Master_SSL_CA_Path Master_SSL_Cert Master_SSL_Cipher Master_SSL_Key Seconds_Behind_Master
Slave_IO_State Master_Host Master_User Master_Port Connect_Retry Master_Log_File Read_Master_Log_Pos Relay_Log_File Relay_Log_Pos Relay_Master_Log_File Slave_IO_Running Slave_SQL_Running Replicate_Do_DB Replicate_Ignore_DB Replicate_Do_Table Replicate_Ignore_Table Replicate_Wild_Do_Table Replicate_Wild_Ignore_Table Last_Errno Last_Error Skip_Counter Exec_Master_Log_Pos Relay_Log_Space Until_Condition Until_Log_File Until_Log_Pos Master_SSL_Allowed Master_SSL_CA_File Master_SSL_CA_Path Master_SSL_Cert Master_SSL_Cipher Master_SSL_Key Seconds_Behind_Master
...
@@ -75,8 +82,11 @@ create table t4 select * from temp_table;
...
@@ -75,8 +82,11 @@ create table t4 select * from temp_table;
show binary logs;
show binary logs;
Log_name File_size
Log_name File_size
master-bin.000003 0
master-bin.000003 0
master-bin.000004 2886
master-bin.000004 0
master-bin.000005
master-bin.000005 2032
Warnings:
Error 29 File 'master-bin.000003' not found (Errcode: 2)
Error 29 File 'master-bin.000004' not found (Errcode: 2)
show master status;
show master status;
File Position Binlog_Do_DB Binlog_Ignore_DB
File Position Binlog_Do_DB Binlog_Ignore_DB
master-bin.000005 2032
master-bin.000005 2032
...
...
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