summaryrefslogtreecommitdiff
path: root/sql/log_event.h
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2017-04-03 21:08:23 +0200
committerSergei Golubchik <serg@mariadb.org>2017-04-07 09:55:54 +0200
commit30ed99cb8259b0bd3eb4c7c98d88d565eb8712bb (patch)
tree852b58049ab6c11515a517e22071c48a0e3e524d /sql/log_event.h
parent82196f0131a26c0f72e7452ff172eb2f93067efd (diff)
downloadmariadb-git-30ed99cb8259b0bd3eb4c7c98d88d565eb8712bb.tar.gz
ASAN errors in many rpl tests
Annotate_rows_log_event should always restore thd->query_string if it was backed up. Even if the backed up value is NULL.
Diffstat (limited to 'sql/log_event.h')
-rw-r--r--sql/log_event.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/log_event.h b/sql/log_event.h
index 5689d36aea8..6c6dce7e18e 100644
--- a/sql/log_event.h
+++ b/sql/log_event.h
@@ -3885,6 +3885,7 @@ private:
uint m_query_len;
char *m_save_thd_query_txt;
uint m_save_thd_query_len;
+ bool m_saved_thd_query;
};
/**