diff options
author | unknown <anozdrin/alik@station.> | 2007-09-13 17:30:44 +0400 |
---|---|---|
committer | unknown <anozdrin/alik@station.> | 2007-09-13 17:30:44 +0400 |
commit | db50f37ae044487e88cf0275b97424ca748f92d1 (patch) | |
tree | 192e2180c3b62842a84864659e8796b24ddf4587 /sql/mysql_priv.h | |
parent | 5c836d24f64eb99aba3cb94da3ee90bcca209500 (diff) | |
download | mariadb-git-db50f37ae044487e88cf0275b97424ca748f92d1.tar.gz |
Bug#16918: Aborted_clients > Connections.
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.
Diffstat (limited to 'sql/mysql_priv.h')
-rw-r--r-- | sql/mysql_priv.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sql/mysql_priv.h b/sql/mysql_priv.h index 44eb5590a28..24d02ee6948 100644 --- a/sql/mysql_priv.h +++ b/sql/mysql_priv.h @@ -726,7 +726,6 @@ pthread_handler_t handle_bootstrap(void *arg); void end_thread(THD *thd,bool put_in_cache); void flush_thread_cache(); bool mysql_execute_command(THD *thd); -bool do_command(THD *thd); bool dispatch_command(enum enum_server_command command, THD *thd, char* packet, uint packet_length); void log_slow_statement(THD *thd); |