diff options
author | unknown <monty@narttu.mysql.fi> | 2003-05-19 12:01:38 +0300 |
---|---|---|
committer | unknown <monty@narttu.mysql.fi> | 2003-05-19 12:01:38 +0300 |
commit | 91ab6a15fe3f3789616429d6defa10a0b4a7a22b (patch) | |
tree | b1314e66378a9b302524b86c567ccb38a119223a /myisam | |
parent | 7d636b65888535ae298ab9f2beba533ba406dd31 (diff) | |
download | mariadb-git-91ab6a15fe3f3789616429d6defa10a0b4a7a22b.tar.gz |
Added option --read-only (Thanks to Markus Benning)
myisam/myisamchk.c:
Removed warning from fulltext when repairing many tables with fulltext index
sql/init.cc:
Remove not used variables
sql/mysql_priv.h:
Remove not used variables
sql/mysqld.cc:
Removed not used variables
Added option --read-only
Change opt_do_pstack and master_ssl to get them to work with my_getopt
sql/set_var.cc:
Option --read-only
sql/sql_parse.cc:
Option --read-only
Diffstat (limited to 'myisam')
-rw-r--r-- | myisam/myisamchk.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/myisam/myisamchk.c b/myisam/myisamchk.c index a3970d65fdf..a7df01e0169 100644 --- a/myisam/myisamchk.c +++ b/myisam/myisamchk.c @@ -45,6 +45,7 @@ static const char *set_charset_name; static CHARSET_INFO *set_charset; static long opt_myisam_block_size; static const char *my_progname_short; +static int stopwords_inited= 0; static const char *type_names[]= { "?","char","binary", "short", "long", "float", @@ -861,7 +862,7 @@ static int myisamchk(MI_CHECK *param, my_string filename) } else { - if (share->fulltext_index) + if (share->fulltext_index && !stopwords_inited++) ft_init_stopwords(); if (!(param->testflag & T_READONLY)) |