summaryrefslogtreecommitdiff
path: root/sql/sql_table.h
diff options
context:
space:
mode:
authorNirbhay Choubey <nirbhay@mariadb.com>2015-10-01 20:36:25 -0400
committerNirbhay Choubey <nirbhay@mariadb.com>2015-10-01 20:36:25 -0400
commit38f3b99d469ab90f07287577d05e48928de720d4 (patch)
treecfe165479d090e363b41565aec134a325517b37c /sql/sql_table.h
parentaccf9b56754d977929b172dc1733cd75ba64be7a (diff)
downloadmariadb-git-38f3b99d469ab90f07287577d05e48928de720d4.tar.gz
MDEV-8831 : enforce_storage_engine doesn't block table creation on other nodes
Check if the engine is supported/allowed before replicating the statement.
Diffstat (limited to 'sql/sql_table.h')
-rw-r--r--sql/sql_table.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/sql_table.h b/sql/sql_table.h
index 85a339314ac..a8124177840 100644
--- a/sql/sql_table.h
+++ b/sql/sql_table.h
@@ -284,4 +284,6 @@ uint explain_filename(THD* thd, const char *from, char *to, uint to_length,
extern MYSQL_PLUGIN_IMPORT const char *primary_key_name;
extern mysql_mutex_t LOCK_gdl;
+bool check_engine(THD *, const char *, const char *, HA_CREATE_INFO *);
+
#endif /* SQL_TABLE_INCLUDED */