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

MDEV-20042 Implement EXTRA2_FIELD_DATA_TYPE_INFO in FRM

This commit is contained in:
Alexander Barkov
2019-07-11 14:50:39 +04:00
parent c8e94e5eda
commit 1517087b54
8 changed files with 267 additions and 1 deletions

View File

@ -528,6 +528,10 @@ public:
q_append(s, size);
return false;
}
bool append(const LEX_CSTRING &s)
{
return append(s.str, s.length);
}
bool append(const Binary_string &s)
{
return append(s.ptr(), s.length());
@ -1001,6 +1005,15 @@ public:
};
template<size_t buff_sz>
class BinaryStringBuffer : public Binary_string
{
char buff[buff_sz];
public:
BinaryStringBuffer() : Binary_string(buff, buff_sz) { length(0); }
};
class String_space: public String
{
public: