diff options
author | acurtis@xiphis.org <> | 2005-06-17 22:14:44 +0100 |
---|---|---|
committer | acurtis@xiphis.org <> | 2005-06-17 22:14:44 +0100 |
commit | 51dd521dfc912afb090cf0a91de6beff667f8e7c (patch) | |
tree | 2ba5a923fd8c126d9ccb26dc09b9d5d14f52b50f /sql/handler.h | |
parent | c78b19768d9247ef5b1fd1cd3f15707a62df3a26 (diff) | |
download | mariadb-git-51dd521dfc912afb090cf0a91de6beff667f8e7c.tar.gz |
Bug#6877 MySQL should give an error if the requested table type is not available
Implement new SQL mode - NO_ENGINE_SUBSTITUTION
Diffstat (limited to 'sql/handler.h')
-rw-r--r-- | sql/handler.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/handler.h b/sql/handler.h index 3b0b9afe320..06ea28dbc94 100644 --- a/sql/handler.h +++ b/sql/handler.h @@ -813,7 +813,8 @@ extern ulong total_ha, total_ha_2pc; enum db_type ha_resolve_by_name(const char *name, uint namelen); const char *ha_get_storage_engine(enum db_type db_type); handler *get_new_handler(TABLE *table, enum db_type db_type); -enum db_type ha_checktype(enum db_type database_type); +enum db_type ha_checktype(THD *thd, enum db_type database_type, + bool no_substitute, bool report_error); /* basic stuff */ int ha_init(void); |