Fix compiler error: C++ code in C

This commit is contained in:
unknown 2005-09-21 19:58:40 +04:00
commit a808e97d8a

View file

@ -698,8 +698,8 @@ get_one_option(int optid,
break; break;
case OPT_STATS_METHOD: case OPT_STATS_METHOD:
{ {
myisam_stats_method_str= argument;
int method; int method;
myisam_stats_method_str= argument;
if ((method=find_type(argument, &myisam_stats_method_typelib, 2)) <= 0) if ((method=find_type(argument, &myisam_stats_method_typelib, 2)) <= 0)
{ {
fprintf(stderr, "Invalid value of stats_method: %s.\n", argument); fprintf(stderr, "Invalid value of stats_method: %s.\n", argument);