summaryrefslogtreecommitdiff
path: root/sql/handler.h
diff options
context:
space:
mode:
authorunknown <gkodinov/kgeorge@macbook.gmz>2008-03-23 14:29:35 +0200
committerunknown <gkodinov/kgeorge@macbook.gmz>2008-03-23 14:29:35 +0200
commit7bcbc7f2d5078d308c25f7d1c92995c64af7b8bc (patch)
tree42bf964a58bf1e828b9069d52e035f8fc72699d3 /sql/handler.h
parent1b6118190ef30d4211609e284d164873f11c8688 (diff)
downloadmariadb-git-7bcbc7f2d5078d308c25f7d1c92995c64af7b8bc.tar.gz
merge bug 26461 to 5.1-opt
Diffstat (limited to 'sql/handler.h')
-rw-r--r--sql/handler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/handler.h b/sql/handler.h
index 9800f4974c3..a3743c78f34 100644
--- a/sql/handler.h
+++ b/sql/handler.h
@@ -1883,7 +1883,7 @@ private:
{ return HA_ADMIN_NOT_IMPLEMENTED; }
virtual int analyze(THD* thd, HA_CHECK_OPT* check_opt)
{ return HA_ADMIN_NOT_IMPLEMENTED; }
- virtual bool check_and_repair(THD *thd) { return HA_ERR_WRONG_COMMAND; }
+ virtual bool check_and_repair(THD *thd) { return TRUE; }
virtual int disable_indexes(uint mode) { return HA_ERR_WRONG_COMMAND; }
virtual int enable_indexes(uint mode) { return HA_ERR_WRONG_COMMAND; }
virtual int discard_or_import_tablespace(my_bool discard)