summaryrefslogtreecommitdiff
path: root/sql/mysqld.h
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2021-07-20 13:00:31 +0200
committerSergei Golubchik <serg@mariadb.org>2021-07-24 12:37:50 +0200
commitb34cafe9d9fb6029d7aa6c5c18ef51c577aa637a (patch)
tree1ec97d6d4e27d2bdb26ece4059d7926d2924812b /sql/mysqld.h
parent1fb71c7831c9d8d216873e48ca106ca38a4e975b (diff)
downloadmariadb-git-b34cafe9d9fb6029d7aa6c5c18ef51c577aa637a.tar.gz
cleanup: move thread_count to THD_count::value()
because the name was misleading, it counts not threads, but THDs, and as THD_count is the only way to increment/decrement it, it could as well be declared inside THD_count.
Diffstat (limited to 'sql/mysqld.h')
-rw-r--r--sql/mysqld.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/sql/mysqld.h b/sql/mysqld.h
index 6a462d25abb..37269125dc6 100644
--- a/sql/mysqld.h
+++ b/sql/mysqld.h
@@ -630,7 +630,6 @@ extern mysql_rwlock_t LOCK_ssl_refresh;
extern mysql_prlock_t LOCK_system_variables_hash;
extern mysql_cond_t COND_start_thread;
extern mysql_cond_t COND_manager;
-extern Atomic_counter<uint32_t> thread_count;
extern char *opt_ssl_ca, *opt_ssl_capath, *opt_ssl_cert, *opt_ssl_cipher,
*opt_ssl_key, *opt_ssl_crl, *opt_ssl_crlpath;