summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorunknown <monty@narttu.mysql.fi>2003-06-23 13:04:21 +0300
committerunknown <monty@narttu.mysql.fi>2003-06-23 13:04:21 +0300
commit199ac9f1cfb89eb6287eaf34eea8dcf3d2b92462 (patch)
tree8b2672f6f5f149d15fadcdfa2b109d0da5592aca /sql
parentba49cc62b0b4a60868765e2192f9b3571ab96b65 (diff)
parent616f46df415783c35b4c3d5d8352fd1f01faf554 (diff)
downloadmariadb-git-199ac9f1cfb89eb6287eaf34eea8dcf3d2b92462.tar.gz
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
Diffstat (limited to 'sql')
-rw-r--r--sql/ha_innodb.cc6
-rw-r--r--sql/ha_innodb.h1
2 files changed, 7 insertions, 0 deletions
diff --git a/sql/ha_innodb.cc b/sql/ha_innodb.cc
index a6528209b3e..6e5a14cfb05 100644
--- a/sql/ha_innodb.cc
+++ b/sql/ha_innodb.cc
@@ -4130,6 +4130,12 @@ ha_innobase::analyze(
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
noticed, prints to stderr information about it. In case of corruption
diff --git a/sql/ha_innodb.h b/sql/ha_innodb.h
index a3fe56f6bcd..86f409aff67 100644
--- a/sql/ha_innodb.h
+++ b/sql/ha_innodb.h
@@ -159,6 +159,7 @@ class ha_innobase: public handler
void position(const byte *record);
void info(uint);
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 reset(void);
int external_lock(THD *thd, int lock_type);