summaryrefslogtreecommitdiff
path: root/include/mysql.h
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 /include/mysql.h
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 'include/mysql.h')
-rw-r--r--include/mysql.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/mysql.h b/include/mysql.h
index d9d9739dd1f..f088ad668a1 100644
--- a/include/mysql.h
+++ b/include/mysql.h
@@ -79,8 +79,8 @@ extern unsigned int mariadb_deinitialize_ssl;
extern unsigned int mysql_port;
extern char *mysql_unix_port;
-#define CLIENT_NET_READ_TIMEOUT 365*24*3600 /* Timeout on read */
-#define CLIENT_NET_WRITE_TIMEOUT 365*24*3600 /* Timeout on write */
+#define CLIENT_NET_READ_TIMEOUT (365*24*3600) /* Timeout on read */
+#define CLIENT_NET_WRITE_TIMEOUT (365*24*3600) /* Timeout on write */
#define IS_PRI_KEY(n) ((n) & PRI_KEY_FLAG)
#define IS_NOT_NULL(n) ((n) & NOT_NULL_FLAG)