summaryrefslogtreecommitdiff
path: root/sql/ha_myisam.h
diff options
context:
space:
mode:
authormonty@donna.mysql.com <>2000-09-12 03:02:33 +0300
committermonty@donna.mysql.com <>2000-09-12 03:02:33 +0300
commit2776500c220c92bb78df03513cc3dd33588f40e5 (patch)
tree051686baf31e5363765879f2437ada3abea6b71b /sql/ha_myisam.h
parent497007e2bd9cb127d54a4fdb02253301f404ce7f (diff)
downloadmariadb-git-2776500c220c92bb78df03513cc3dd33588f40e5.tar.gz
Update to new root alloc, OPTIMIZE TABLE and some other changes
Diffstat (limited to 'sql/ha_myisam.h')
-rw-r--r--sql/ha_myisam.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sql/ha_myisam.h b/sql/ha_myisam.h
index c065c60825d..c8f097e792f 100644
--- a/sql/ha_myisam.h
+++ b/sql/ha_myisam.h
@@ -30,7 +30,7 @@ class ha_myisam: public handler
{
MI_INFO *file;
uint int_option_flag;
- int repair(THD *thd, MI_CHECK &param);
+ int repair(THD *thd, MI_CHECK &param, bool optimize);
public:
ha_myisam(TABLE *table): handler(table), file(0),
@@ -93,8 +93,9 @@ class ha_myisam: public handler
int rename_table(const char * from, const char * to);
int delete_table(const char *name);
int check(THD* thd, HA_CHECK_OPT* check_opt);
- int analyze(THD* thd);
+ int analyze(THD* thd,HA_CHECK_OPT* check_opt);
int repair(THD* thd, HA_CHECK_OPT* check_opt);
+ int optimize(THD* thd, HA_CHECK_OPT* check_opt);
int dump(THD* thd, int fd);
int net_read_dump(NET* net);
};