1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

MDEV-19843 Modify ST_FIELD_INFO to use Type_handler and LEX_CSTRING

This commit is contained in:
Alexander Barkov
2019-06-22 09:15:37 +04:00
parent 5e474f92b5
commit c62eaa7bdf
8 changed files with 149 additions and 158 deletions

View File

@ -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);