summaryrefslogtreecommitdiff
path: root/sql/datadict.h
diff options
context:
space:
mode:
authorMattias Jonsson <mattias.jonsson@oracle.com>2010-08-16 14:53:30 +0200
committerMattias Jonsson <mattias.jonsson@oracle.com>2010-08-16 14:53:30 +0200
commit25ae81f133a1063a7234eb7515f50d9b2e82d1a5 (patch)
treec70fa0c8e6b1e40f9c93c89eed5cb4337b1b681c /sql/datadict.h
parent87f655d52d4e30392f2232b51a7658684db6c5d1 (diff)
downloadmariadb-git-25ae81f133a1063a7234eb7515f50d9b2e82d1a5.tar.gz
Bug#49907: ALTER TABLE ... TRUNCATE PARTITION does not wait for
locks on the table Fixing the partitioning specifics after TRUNCATE TABLE in bug-42643 was fixed. Reorganize of code to decrease the size of the giant switch in mysql_execute_command, and to prepare for future parser reengineering. Moved code into Sql_statement objects. Updated patch according to davi's review comments.
Diffstat (limited to 'sql/datadict.h')
-rw-r--r--sql/datadict.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/datadict.h b/sql/datadict.h
index 05b5a9bba4b..65e40998929 100644
--- a/sql/datadict.h
+++ b/sql/datadict.h
@@ -31,6 +31,8 @@ enum frm_type_enum
frm_type_enum dd_frm_type(THD *thd, char *path, enum legacy_db_type *dbt);
+bool dd_frm_storage_engine(THD *thd, const char *db, const char *table_name,
+ handlerton **table_type);
bool dd_check_storage_engine_flag(THD *thd,
const char *db, const char *table_name,
uint32 flag,