1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

MDEV-29561 SHOW CREATE TABLE produces syntactically incorrect structure

This commit is contained in:
Alexander Barkov
2022-09-20 10:29:37 +04:00
parent 65b4a2afb8
commit 5dcc56be4d
8 changed files with 115 additions and 25 deletions

View File

@ -147,6 +147,10 @@ public:
LEX_CSTRING collation_specific_name() const;
bool encoding_allows_reinterpret_as(CHARSET_INFO *cs) const;
bool eq_collation_specific_names(CHARSET_INFO *cs) const;
bool can_have_collate_clause() const
{
return m_charset != &my_charset_bin;
}
};
class String : public Sql_alloc