1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

MDEV-14619: VIEW and GROUP_CONCAT

Correctly print separator string in single quotes.
This commit is contained in:
Oleksandr Byelkin
2017-12-17 00:01:55 +01:00
parent 20089f5a39
commit 273591df0c
3 changed files with 27 additions and 1 deletions

View File

@@ -3656,7 +3656,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("\')"));
}