Commit 616f46df authored by unknown's avatar unknown

Added analyze as alias for optimize

parent f5fba553
...@@ -3847,6 +3847,12 @@ ha_innobase::analyze( ...@@ -3847,6 +3847,12 @@ ha_innobase::analyze(
return(0); return(0);
} }
int ha_innobase::optimize(THD* thd, HA_CHECK_OPT* check_opt)
{
return ha_innobase::analyze(thd,check_opt);
}
/*********************************************************************** /***********************************************************************
Tries to check that an InnoDB table is not corrupted. If corruption is Tries to check that an InnoDB table is not corrupted. If corruption is
noticed, prints to stderr information about it. In case of corruption noticed, prints to stderr information about it. In case of corruption
......
...@@ -153,6 +153,7 @@ class ha_innobase: public handler ...@@ -153,6 +153,7 @@ class ha_innobase: public handler
void position(const byte *record); void position(const byte *record);
void info(uint); void info(uint);
int analyze(THD* thd,HA_CHECK_OPT* check_opt); int analyze(THD* thd,HA_CHECK_OPT* check_opt);
int optimize(THD* thd,HA_CHECK_OPT* check_opt);
int extra(enum ha_extra_function operation); int extra(enum ha_extra_function operation);
int reset(void); int reset(void);
int external_lock(THD *thd, int lock_type); int external_lock(THD *thd, int lock_type);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment