diff options
author | Monty <monty@mariadb.org> | 2017-10-26 12:46:45 +0300 |
---|---|---|
committer | Monty <monty@mariadb.org> | 2017-12-18 13:43:36 +0200 |
commit | ea37c129f968593e48170e489788cc481fe9a2bd (patch) | |
tree | 1878fb29f55b3bc020119660fe7f3a2b7dbe2cba /client/mysqlbinlog.cc | |
parent | 2e53b96a0aa9dcb18d8bbe12e5bc7e0aba208540 (diff) | |
download | mariadb-git-ea37c129f968593e48170e489788cc481fe9a2bd.tar.gz |
Removed not used lock argument from read_log_event
Diffstat (limited to 'client/mysqlbinlog.cc')
-rw-r--r-- | client/mysqlbinlog.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/client/mysqlbinlog.cc b/client/mysqlbinlog.cc index cca3fba5325..d7ffadb1dc6 100644 --- a/client/mysqlbinlog.cc +++ b/client/mysqlbinlog.cc @@ -2736,7 +2736,7 @@ static Exit_status check_header(IO_CACHE* file, Format_description_log_event *new_description_event; my_b_seek(file, tmp_pos); /* seek back to event's start */ if (!(new_description_event= (Format_description_log_event*) - Log_event::read_log_event(file, 0, glob_description_event, + Log_event::read_log_event(file, glob_description_event, opt_verify_binlog_checksum))) /* EOF can't be hit here normally, so it's a real error */ { @@ -2770,7 +2770,7 @@ static Exit_status check_header(IO_CACHE* file, { Log_event *ev; my_b_seek(file, tmp_pos); /* seek back to event's start */ - if (!(ev= Log_event::read_log_event(file, 0, glob_description_event, + if (!(ev= Log_event::read_log_event(file, glob_description_event, opt_verify_binlog_checksum))) { /* EOF can't be hit here normally, so it's a real error */ @@ -2884,7 +2884,7 @@ static Exit_status dump_local_log_entries(PRINT_EVENT_INFO *print_event_info, char llbuff[21]; my_off_t old_off = my_b_tell(file); - Log_event* ev = Log_event::read_log_event(file, 0, glob_description_event, + Log_event* ev = Log_event::read_log_event(file, glob_description_event, opt_verify_binlog_checksum); if (!ev) { |