summaryrefslogtreecommitdiff
path: root/sql/ha_innodb.h
diff options
context:
space:
mode:
authorunknown <marko@hundin.mysql.fi>2005-01-11 16:28:07 +0200
committerunknown <marko@hundin.mysql.fi>2005-01-11 16:28:07 +0200
commitff4507a9dec635b1fa879d3fd62b5adf05be6235 (patch)
treef65410ac2958d249442b5341ea37a653007677dc /sql/ha_innodb.h
parent0b7895b9b14981926c34fbd833aed0d9235da68a (diff)
downloadmariadb-git-ff4507a9dec635b1fa879d3fd62b5adf05be6235.tar.gz
InnoDB: Implement fast TRUNCATE TABLE (Bug #7150)
innobase/dict/dict0boot.c: Added DICT_SYS_INDEXES_TYPE_FIELD innobase/dict/dict0crea.c: Added dict_truncate_index_tree() innobase/include/dict0boot.h: Added DICT_SYS_INDEXES_TYPE_FIELD innobase/include/dict0crea.h: Added dict_truncate_index_tree() innobase/include/row0mysql.h: Added row_truncate_table_for_mysql() innobase/row/row0mysql.c: Added row_truncate_table_for_mysql() sql/ha_innodb.cc: Added ha_innobase::delete_all_rows() in order to implement fast TRUNCATE TABLE sql/ha_innodb.h: Added ha_innobase::delete_all_rows() in order to implement fast TRUNCATE TABLE
Diffstat (limited to 'sql/ha_innodb.h')
-rw-r--r--sql/ha_innodb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/ha_innodb.h b/sql/ha_innodb.h
index fcb9165de64..437a33116d7 100644
--- a/sql/ha_innodb.h
+++ b/sql/ha_innodb.h
@@ -159,6 +159,7 @@ class ha_innobase: public handler
int create(const char *name, register TABLE *form,
HA_CREATE_INFO *create_info);
+ int delete_all_rows();
int delete_table(const char *name);
int rename_table(const char* from, const char* to);
int check(THD* thd, HA_CHECK_OPT* check_opt);