summaryrefslogtreecommitdiff
path: root/myisam
diff options
context:
space:
mode:
authorunknown <serg@serg.mylan>2005-09-21 17:38:26 +0200
committerunknown <serg@serg.mylan>2005-09-21 17:38:26 +0200
commit4956432b12371eb309ab8e31429adfcdc41cc983 (patch)
tree707766e8c89a4c8c6d0926d0ff26f75e3bf37ad6 /myisam
parentaa7bc459f7b4854d032b5605f73f7faa1fad5b2b (diff)
downloadmariadb-git-4956432b12371eb309ab8e31429adfcdc41cc983.tar.gz
aftermerge fix
Diffstat (limited to 'myisam')
-rw-r--r--myisam/myisamchk.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/myisam/myisamchk.c b/myisam/myisamchk.c
index cfc3930779f..10308408b1f 100644
--- a/myisam/myisamchk.c
+++ b/myisam/myisamchk.c
@@ -698,15 +698,14 @@ get_one_option(int optid,
break;
case OPT_STATS_METHOD:
{
- myisam_stats_method_str= argument;
int method;
+ myisam_stats_method_str= argument;
if ((method=find_type(argument, &myisam_stats_method_typelib, 2)) <= 0)
{
fprintf(stderr, "Invalid value of stats_method: %s.\n", argument);
exit(1);
}
- check_param.stats_method= test(method-1)? MI_STATS_METHOD_NULLS_EQUAL :
- MI_STATS_METHOD_NULLS_NOT_EQUAL;
+ check_param.stats_method= method-1;
break;
}
#ifdef DEBUG /* Only useful if debugging */