diff options
author | bar@mysql.com <> | 2005-04-11 15:11:52 +0500 |
---|---|---|
committer | bar@mysql.com <> | 2005-04-11 15:11:52 +0500 |
commit | 71f530c4eac384cd408941416c31518b8f1bd59d (patch) | |
tree | 5ca97fe034800a82b6139eb23ea20d51dd9ac427 /sql/handler.h | |
parent | fc0e6aa274c876fac17705d37b6d802f0e7d02e0 (diff) | |
parent | 16e186779f270bf9877938d20acdcebbee0d2e38 (diff) | |
download | mariadb-git-71f530c4eac384cd408941416c31518b8f1bd59d.tar.gz |
merge
Diffstat (limited to 'sql/handler.h')
-rw-r--r-- | sql/handler.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/handler.h b/sql/handler.h index c9a7d17e6dc..5d26bca241a 100644 --- a/sql/handler.h +++ b/sql/handler.h @@ -671,6 +671,8 @@ public: virtual void append_create_info(String *packet) {} virtual char* get_foreign_key_create_info() { return(NULL);} /* gets foreign key create string from InnoDB */ + /* used in ALTER TABLE; 1 if changing storage engine is allowed */ + virtual bool can_switch_engines() { return 1; } /* used in REPLACE; is > 0 if table is referred by a FOREIGN KEY */ virtual int get_foreign_key_list(THD *thd, List<FOREIGN_KEY_INFO> *f_key_list) { return 0; } |