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:
@ -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:
|
||||
|
Reference in New Issue
Block a user