Commit 4412ad4e authored by jimw@mysql.com's avatar jimw@mysql.com

Cleanups based on feedback from Monty.

parent d398b6eb
......@@ -1362,13 +1362,12 @@ static bool show_status_array(THD *thd, const char *wild,
{
if (bitmap_is_set(bitmap, i))
{
end+= my_snprintf((char *)end, sizeof(buff) - (end - buff),
"%d,", i);
end= int10_to_str(i, (char*) end, 10);
*(char*) end++= ',';
}
}
if (end != buff)
end--; // Remove last ','
*(char *)end= 0;
}
break;
}
......
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