Commit a808e97d authored by unknown's avatar unknown

Fix compiler error: C++ code in C

parent 09225cef
...@@ -698,8 +698,8 @@ get_one_option(int optid, ...@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment