1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

Implemented support for START SLAVE UNTIL (WL#868)

This commit is contained in:
dlenev@dlenev.mshome
2003-09-14 00:13:41 +04:00
parent fbe49f0c48
commit c0cfae1c8d
42 changed files with 607 additions and 89 deletions

View File

@ -901,6 +901,12 @@ int load_master_data(THD* thd)
active_mi->rli.group_master_log_pos = active_mi->master_log_pos;
strmake(active_mi->rli.group_master_log_name,active_mi->master_log_name,
sizeof(active_mi->rli.group_master_log_name)-1);
/*
Cancel the previous START SLAVE UNTIL, as the fact to download
a new copy logically makes UNTIL irrelevant.
*/
clear_until_condition(&active_mi->rli);
/*
No need to update rli.event* coordinates, they will be when the slave
threads start ; only rli.group* coordinates are necessary here.