summaryrefslogtreecommitdiff
path: root/sql/threadpool_unix.cc
diff options
context:
space:
mode:
authorOleksandr Byelkin <sanja@mariadb.com>2015-09-01 11:47:06 +0200
committerOleksandr Byelkin <sanja@mariadb.com>2015-09-06 22:26:33 +0200
commit0ce0b88080fd39f6841206b64d8723af9779e849 (patch)
tree3b0f4ab28e0f7f64d198a7c8179166ccda7bb102 /sql/threadpool_unix.cc
parent9abf426ee7f1ca2bab2683387137d3da0f18bc0e (diff)
downloadmariadb-git-0ce0b88080fd39f6841206b64d8723af9779e849.tar.gz
MDEV-8450: PATCH] Wrong macro expansion in Query_cache::send_result_to_client()
Expression in macro protected by ()
Diffstat (limited to 'sql/threadpool_unix.cc')
-rw-r--r--sql/threadpool_unix.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/threadpool_unix.cc b/sql/threadpool_unix.cc
index 68c032fb67b..e720e43498a 100644
--- a/sql/threadpool_unix.cc
+++ b/sql/threadpool_unix.cc
@@ -1634,7 +1634,7 @@ int tp_get_idle_thread_count()
Delay in microseconds, after which "pool blocked" message is printed.
(30 sec == 30 Mio usec)
*/
-#define BLOCK_MSG_DELAY 30*1000000
+#define BLOCK_MSG_DELAY (30*1000000)
#define MAX_THREADS_REACHED_MSG \
"Threadpool could not create additional thread to handle queries, because the \