Erase server_time_difference from binlog if time adjustment protection is disabled.

This commit is contained in:
levlam 2021-06-04 17:18:59 +03:00
parent 2af0aa0074
commit 70a76e333f

View File

@ -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;
}