• Sergei Golubchik's avatar
    MDEV-4824 userstats - wrong user statistics · f486f49e
    Sergei Golubchik authored
    (and valgrind warnings)
    
    * move thd userstat initialization to the same function
      that was adding thd userstat to global counters.
    * initialize thd->start_bytes_received in THD::init
      (when thd->userstat_running is set)
    f486f49e
sql_class.cc 162 KB