summaryrefslogtreecommitdiff
path: root/sql/log_event.h
diff options
context:
space:
mode:
Diffstat (limited to 'sql/log_event.h')
-rw-r--r--sql/log_event.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/log_event.h b/sql/log_event.h
index 2165a620fa3..d16d76bed37 100644
--- a/sql/log_event.h
+++ b/sql/log_event.h
@@ -210,6 +210,7 @@ public:
{ return 0; }
virtual Log_event_type get_type_code() = 0;
virtual bool is_valid() = 0;
+ virtual bool get_cache_stmt() { return 0; }
Log_event(const char* buf);
#ifndef MYSQL_CLIENT
Log_event(THD* thd_arg, uint16 flags_arg = 0);
@@ -277,6 +278,7 @@ public:
const char* get_db() { return db; }
void pack_info(String* packet);
int exec_event(struct st_master_info* mi);
+ bool get_cache_stmt() { return cache_stmt; }
#endif
Query_log_event(const char* buf, int event_len);