diff options
author | Alexander Barkov <bar@mariadb.com> | 2019-06-22 09:15:37 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mariadb.com> | 2019-06-24 06:25:16 +0400 |
commit | c62eaa7bdf492501c7d7155f8e69d37437f71876 (patch) | |
tree | 98627e1437a0e3110e238e5dc917df54811d26d5 /sql/sql_string.h | |
parent | 5e474f92b5fd2d0bae800025e6f9acacd4412d04 (diff) | |
download | mariadb-git-c62eaa7bdf492501c7d7155f8e69d37437f71876.tar.gz |
MDEV-19843 Modify ST_FIELD_INFO to use Type_handler and LEX_CSTRING
Diffstat (limited to 'sql/sql_string.h')
-rw-r--r-- | sql/sql_string.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sql/sql_string.h b/sql/sql_string.h index b343200aa77..4e4164b9d37 100644 --- a/sql/sql_string.h +++ b/sql/sql_string.h @@ -904,6 +904,10 @@ public: // Append with optional character set conversion from cs to charset() bool append(const char *s, size_t arg_length, CHARSET_INFO *cs); + bool append(const LEX_CSTRING &s, CHARSET_INFO *cs) + { + return append(s.str, s.length, cs); + } void strip_sp(); friend int sortcmp(const String *a,const String *b, CHARSET_INFO *cs); |