summaryrefslogtreecommitdiff
path: root/sql/item_sum.cc
diff options
context:
space:
mode:
authorVicențiu Ciorbaru <vicentiu@mariadb.org>2017-12-20 13:30:05 +0200
committerVicențiu Ciorbaru <vicentiu@mariadb.org>2017-12-20 13:30:05 +0200
commite3d89652e5fd314f03875a3d026490452b2a5986 (patch)
tree9f4d60e4431933ba6e53feb3372c9297c8b8836c /sql/item_sum.cc
parent7bbc6c14d1e8fcf1f4737e0a5fcf6237fe18bd23 (diff)
parent042f763268c0f209e7c12e0a6a72bb5d204dfe29 (diff)
downloadmariadb-git-e3d89652e5fd314f03875a3d026490452b2a5986.tar.gz
Merge branch '10.0' into 10.1
Diffstat (limited to 'sql/item_sum.cc')
-rw-r--r--sql/item_sum.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/item_sum.cc b/sql/item_sum.cc
index 1a4fe3b0ccc..0e2e9f0795d 100644
--- a/sql/item_sum.cc
+++ b/sql/item_sum.cc
@@ -3594,7 +3594,7 @@ void Item_func_group_concat::print(String *str, enum_query_type query_type)
}
}
str->append(STRING_WITH_LEN(" separator \'"));
- str->append(*separator);
+ str->append_for_single_quote(separator->ptr(), separator->length());
str->append(STRING_WITH_LEN("\')"));
}