Commit 2b528d83 authored by sergefp@mysql.com's avatar sergefp@mysql.com

Fix compiler error: C++ code in C

parent ba9e3ca1
......@@ -698,8 +698,8 @@ 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);
......
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