diff options
author | Oleksandr Byelkin <sanja@mariadb.com> | 2015-09-01 11:47:06 +0200 |
---|---|---|
committer | Oleksandr Byelkin <sanja@mariadb.com> | 2015-09-06 22:26:33 +0200 |
commit | 0ce0b88080fd39f6841206b64d8723af9779e849 (patch) | |
tree | 3b0f4ab28e0f7f64d198a7c8179166ccda7bb102 /strings | |
parent | 9abf426ee7f1ca2bab2683387137d3da0f18bc0e (diff) | |
download | mariadb-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 'strings')
-rw-r--r-- | strings/conf_to_src.c | 2 | ||||
-rw-r--r-- | strings/ctype.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/strings/conf_to_src.c b/strings/conf_to_src.c index 8d25ac8e7ed..28d2fd1515e 100644 --- a/strings/conf_to_src.c +++ b/strings/conf_to_src.c @@ -23,7 +23,7 @@ #define ROW_LEN 16 #define ROW16_LEN 8 -#define MAX_BUF 64*1024 +#define MAX_BUF (64*1024) static struct charset_info_st all_charsets[512]; diff --git a/strings/ctype.c b/strings/ctype.c index 048fbe3d368..d8a1dd7502b 100644 --- a/strings/ctype.c +++ b/strings/ctype.c @@ -264,7 +264,7 @@ static const struct my_cs_file_section_st } #define MY_CS_CSDESCR_SIZE 64 -#define MY_CS_TAILORING_SIZE 32*1024 +#define MY_CS_TAILORING_SIZE (32*1024) #define MY_CS_UCA_VERSION_SIZE 64 #define MY_CS_CONTEXT_SIZE 64 |