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

@ -3076,6 +3076,7 @@ public:
}
const char *ptr() const { return LEX_CSTRING::str; }
uint length() const { return (uint) LEX_CSTRING::length; }
const LEX_CSTRING &lex_cstring() const { return *this; }
bool eq(const LEX_CSTRING &other) const
{
return !my_strnncoll(system_charset_info,
@ -3490,6 +3491,9 @@ public:
{
return 0;
}
virtual bool Column_definition_data_type_info_image(Binary_string *to,
const Column_definition &def)
const;
// Check if the implicit default value is Ok in the current sql_mode
virtual bool validate_implicit_default_value(THD *thd,
const Column_definition &def)