diff options
Diffstat (limited to 'sql/table.cc')
-rw-r--r-- | sql/table.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/table.cc b/sql/table.cc index f1b1c00f87c..b8811366524 100644 --- a/sql/table.cc +++ b/sql/table.cc @@ -317,7 +317,8 @@ int open_table_def(THD *thd, TABLE_SHARE *share, uint db_flags) */ if (share->db.length == 5 && !my_strcasecmp(system_charset_info, share->db.str, "mysql") && - !my_strcasecmp(system_charset_info, share->table_name.str, "proc")) + (!my_strcasecmp(system_charset_info, share->table_name.str, "proc") || + !my_strcasecmp(system_charset_info, share->table_name.str, "event"))) share->system_table= 1; error_given= 1; } |