Merge bk-internal.mysql.com:/home/bk/mysql-4.0

into narttu.mysql.fi:/my/mysql-4.0


sql/ha_innodb.cc:
  Auto merged
sql/ha_innodb.h:
  Auto merged
This commit is contained in:
unknown 2003-06-23 13:04:21 +03:00
commit 199ac9f1cf
2 changed files with 7 additions and 0 deletions

View file

@ -4130,6 +4130,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

View file

@ -159,6 +159,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);