summaryrefslogtreecommitdiff
path: root/sql/log_event.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/log_event.cc')
-rw-r--r--sql/log_event.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/log_event.cc b/sql/log_event.cc
index f4e34dd9224..a89806fa708 100644
--- a/sql/log_event.cc
+++ b/sql/log_event.cc
@@ -9041,6 +9041,7 @@ int Rows_log_event::do_apply_event(Relay_log_info const *rli)
call might reset the value of current_stmt_binlog_format, so
we need to do any changes to that value after this function.
*/
+ delete_qpf_query(thd->lex);
lex_start(thd);
mysql_reset_thd_for_next_command(thd, 0);
/*