diff options
Diffstat (limited to 'sql/log_event.cc')
-rw-r--r-- | sql/log_event.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/log_event.cc b/sql/log_event.cc index 742cf6a1a82..cd0324a72ca 100644 --- a/sql/log_event.cc +++ b/sql/log_event.cc @@ -1698,6 +1698,7 @@ int Load_log_event::exec_event(NET* net, struct st_relay_log_info* rli, tables.alias = tables.real_name = (char*)table_name; tables.lock_type = TL_WRITE; tables.updating= 1; + tables.non_cachable_table= 1; // just safety for table on stack // the table will be opened in mysql_load if (table_rules_on && !tables_ok(thd, &tables)) { |