From b5328a7dbc62f7d87d406b7fa334a03dcea6b5ba Mon Sep 17 00:00:00 2001 From: "marko@hundin.mysql.fi" <> Date: Thu, 7 Apr 2005 12:16:41 +0300 Subject: InnoDB: Prevent ALTER TABLE ... ENGINE=... if there are foreign key constraints on the table. (Bug #5574) --- sql/ha_innodb.h | 1 + 1 file changed, 1 insertion(+) (limited to 'sql/ha_innodb.h') diff --git a/sql/ha_innodb.h b/sql/ha_innodb.h index f10785b695d..edf428669d8 100644 --- a/sql/ha_innodb.h +++ b/sql/ha_innodb.h @@ -161,6 +161,7 @@ class ha_innobase: public handler int check(THD* thd, HA_CHECK_OPT* check_opt); char* update_table_comment(const char* comment); char* get_foreign_key_create_info(); + bool can_switch_engines(); uint referenced_by_foreign_key(); void free_foreign_key_create_info(char* str); THR_LOCK_DATA **store_lock(THD *thd, THR_LOCK_DATA **to, -- cgit v1.2.1