You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-01 06:46:55 +03:00
MCOL-5005 Add charset number to system catalog - Part 1.
This patch improves/fixes the existing handling of CHARSET and COLLATION symbols in the ColumnStore DDL parser. Also, add fCollate and fCharsetNum member variables to the ddlpackage::ColumnType class.
This commit is contained in:
@ -934,7 +934,7 @@ struct ColumnType
|
||||
EXPORT int serialize(messageqcpp::ByteStream& bs);
|
||||
|
||||
/** @brief For deserialization. */
|
||||
ColumnType() : fCharset(NULL), fExplicitLength(false)
|
||||
ColumnType() : fCharset(NULL), fCollate(NULL), fCharsetNum(0), fExplicitLength(false)
|
||||
{
|
||||
}
|
||||
|
||||
@ -978,6 +978,10 @@ struct ColumnType
|
||||
|
||||
/** @brief Column charset (CHAR, VARCHAR and TEXT only) */
|
||||
const char* fCharset;
|
||||
/** @brief Column collation (CHAR, VARCHAR and TEXT only) */
|
||||
const char* fCollate;
|
||||
/** @brief Column charset number (CHAR, VARCHAR and TEXT only) */
|
||||
uint32_t fCharsetNum;
|
||||
|
||||
/** @brief Is the TEXT column has explicit defined length, ie TEXT(1717) */
|
||||
bool fExplicitLength;
|
||||
|
Reference in New Issue
Block a user