diff options
author | Sujatha <sujatha.sivakumar@mariadb.com> | 2019-12-18 15:04:06 +0530 |
---|---|---|
committer | Sujatha <sujatha.sivakumar@mariadb.com> | 2020-01-07 18:27:06 +0530 |
commit | d05c511d340c34f82af686fde2f1d741e60764a5 (patch) | |
tree | 22a6e326643333935a2c33cf95790a5f92d08aa1 /sql/log_event.cc | |
parent | bac33533617c6d77a2ec09250bb9b053c7216771 (diff) | |
download | mariadb-git-d05c511d340c34f82af686fde2f1d741e60764a5.tar.gz |
MDEV-18046: Assortment of crashes, assertion failures and ASAN errors in mysql_show_binlog_events
Problem:
========
SHOW BINLOG EVENTS FROM <pos> reports following assert when ASAN is enabled.
Query_log_event::Query_log_event(const char*, uint,
const Format_description_log_event*, Log_event_type):
Assertion `(pos) + (6) <= (end)' failed
Fix:
===
**Part9: Removed additional DBUG_ASSERT**
Diffstat (limited to 'sql/log_event.cc')
-rw-r--r-- | sql/log_event.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sql/log_event.cc b/sql/log_event.cc index 5e26ba8e1bf..eb16f519da4 100644 --- a/sql/log_event.cc +++ b/sql/log_event.cc @@ -3502,7 +3502,6 @@ code_name(int code) #define CHECK_SPACE(PTR,END,CNT) \ do { \ DBUG_PRINT("info", ("Read %s", code_name(pos[-1]))); \ - DBUG_ASSERT((PTR) + (CNT) <= (END)); \ if ((PTR) + (CNT) > (END)) { \ DBUG_PRINT("info", ("query= 0")); \ query= 0; \ |