summaryrefslogtreecommitdiff
path: root/sql/my_json_writer.h
diff options
context:
space:
mode:
authorVladislav Vaintroub <wlad@mariadb.com>2019-02-13 12:15:14 +0100
committerVladislav Vaintroub <wlad@mariadb.com>2019-02-13 12:15:14 +0100
commitd28dab7658773078d5d57df985209027f3ab2bbb (patch)
treed76ef5c2b7f4edc2f9044753f487b143bb09c2ff /sql/my_json_writer.h
parent91451739f2107cda93b445dc510c3d75793ac2d8 (diff)
downloadmariadb-git-d28dab7658773078d5d57df985209027f3ab2bbb.tar.gz
Fix compilation on old gcc
Diffstat (limited to 'sql/my_json_writer.h')
-rw-r--r--sql/my_json_writer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/my_json_writer.h b/sql/my_json_writer.h
index 4701cb4165b..3234c748f5d 100644
--- a/sql/my_json_writer.h
+++ b/sql/my_json_writer.h
@@ -111,7 +111,7 @@ class String_with_limit
{
public:
- String_with_limit() : size_limit(SIZE_MAX), truncated_len(0)
+ String_with_limit() : size_limit(SIZE_T_MAX), truncated_len(0)
{
str.length(0);
}