• Sergei Golubchik's avatar
    fixes for the status_user.test in ps protocol · a117dfb0
    Sergei Golubchik authored
    sql/sql_class.cc:
      reset userstat_running after the data were colleced to prevent double accounting.
      don't assert for COM_QUERY, many more are possible.
      don't update_stats() here, it's too late, lex->sql_command may be already reset
    sql/sql_parse.cc:
      update_stats() here, when the current arena is still valid
    a117dfb0
status_user.test 3.01 KB