Commit e9beb6d0 authored by unknown's avatar unknown
Browse files

Cleanups based on feedback from Monty.


sql/sql_show.cc:
  Use int10_to_str() instead of my_snprintf() for formatting number
parent 686d0ba1
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -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;
        }