Erase server_time_difference from binlog if time adjustment protection is disabled.
This commit is contained in:
parent
2af0aa0074
commit
70a76e333f
@ -163,6 +163,7 @@ void Global::save_server_time() {
|
||||
|
||||
void Global::do_save_server_time_difference() {
|
||||
if (shared_config_ != nullptr && shared_config_->get_option_boolean("disable_time_adjustment_protection")) {
|
||||
td_db()->get_binlog_pmc()->erase("server_time_difference");
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user