mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
Merge stella.local:/home2/mydev/mysql-5.1-amain
into stella.local:/home2/mydev/mysql-5.1-axmrg mysql-test/r/ctype_big5.result: Auto merged mysql-test/r/ctype_euckr.result: Auto merged mysql-test/r/ctype_gb2312.result: Auto merged mysql-test/r/ctype_gbk.result: Auto merged mysql-test/r/ctype_uca.result: Auto merged mysql-test/r/ctype_ucs.result: Auto merged mysql-test/suite/binlog/r/binlog_row_ctype_cp932.result: Auto merged mysql-test/suite/binlog/r/binlog_stm_ctype_cp932.result: Auto merged mysql-test/t/ctype_ucs.test: Auto merged sql/item_func.cc: Auto merged sql/item_func.h: Auto merged sql/log.cc: Auto merged sql/log_event.cc: Auto merged sql/rpl_rli.cc: Auto merged sql/slave.cc: Auto merged sql/sql_yacc.yy: Auto merged mysql-test/lib/mtr_report.pl: SCCS merged
This commit is contained in:
@@ -955,6 +955,11 @@ err:
|
||||
Check if condition stated in UNTIL clause of START SLAVE is reached.
|
||||
SYNOPSYS
|
||||
Relay_log_info::is_until_satisfied()
|
||||
master_beg_pos position of the beginning of to be executed event
|
||||
(not log_pos member of the event that points to the
|
||||
beginning of the following event)
|
||||
|
||||
|
||||
DESCRIPTION
|
||||
Checks if UNTIL condition is reached. Uses caching result of last
|
||||
comparison of current log file name and target log file name. So cached
|
||||
@@ -979,7 +984,7 @@ err:
|
||||
false - condition not met
|
||||
*/
|
||||
|
||||
bool Relay_log_info::is_until_satisfied()
|
||||
bool Relay_log_info::is_until_satisfied(my_off_t master_beg_pos)
|
||||
{
|
||||
const char *log_name;
|
||||
ulonglong log_pos;
|
||||
@@ -990,7 +995,7 @@ bool Relay_log_info::is_until_satisfied()
|
||||
if (until_condition == UNTIL_MASTER_POS)
|
||||
{
|
||||
log_name= group_master_log_name;
|
||||
log_pos= group_master_log_pos;
|
||||
log_pos= master_beg_pos;
|
||||
}
|
||||
else
|
||||
{ /* until_condition == UNTIL_RELAY_POS */
|
||||
|
Reference in New Issue
Block a user