• unknown's avatar
    Bug#16918: Aborted_clients > Connections. · 9a81edf3
    unknown authored
    The problem was that aborted_threads variable was updated
    twice when a client connection had been aborted.
    
    The fix is to refactor a code to have aborted_threads updated
    only in one place.
    
    
    sql/mysql_priv.h:
      Make do_command() a private function.
    sql/sql_parse.cc:
      1. Make do_command() a private function;
      2. Update aborted_threads in the only one place.
    9a81edf3
mysql_priv.h 67.9 KB