summaryrefslogtreecommitdiff
path: root/sql/ha_myisam.cc
diff options
context:
space:
mode:
authorunknown <serg@infomag.ape.relarn.ru>2000-08-25 19:56:55 +0400
committerunknown <serg@infomag.ape.relarn.ru>2000-08-25 19:56:55 +0400
commitfe26eac2198e79de6e23c17c5033a5c7bc8e1d41 (patch)
treead2b5aff206599e2ee78906e3fbf28616044ffe1 /sql/ha_myisam.cc
parente7f6ed657df487531872b61355dfb3a88e0bae57 (diff)
downloadmariadb-git-fe26eac2198e79de6e23c17c5033a5c7bc8e1d41.tar.gz
Stopwords (English only); fulltext keys now can be repaired
myisam/fulltext.h: stopwords moved to include/ft_global.h myisam/mi_check.c: fulltext keys now can be repaired include/ft_global.h: stopwords declaration sql/ha_myisam.cc: bug in ::repair sql/mysqld.cc: stopwords initialized with PRECOMPILED_STOPWORDS include/Makefile.am: because `bk ci' set permissions to 444, the my_global.h should be removed, not overwritten.]
Diffstat (limited to 'sql/ha_myisam.cc')
-rw-r--r--sql/ha_myisam.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/ha_myisam.cc b/sql/ha_myisam.cc
index f45309ddaeb..8536aa5219c 100644
--- a/sql/ha_myisam.cc
+++ b/sql/ha_myisam.cc
@@ -372,6 +372,7 @@ int ha_myisam::repair(THD *thd, MI_CHECK &param)
param.table_name = table->table_name;
param.tmpfile_createflag = O_RDWR | O_TRUNC;
param.using_global_keycache = 1;
+ param.thd=thd;
VOID(fn_format(fixed_name,file->filename,"",MI_NAME_IEXT,
4+ (param.opt_follow_links ? 16 : 0)));