You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-29 08:21:15 +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:
@ -64,13 +64,16 @@ ColumnType::ColumnType(int prec, int scale)
|
||||
, fScale(scale)
|
||||
, fWithTimezone(false)
|
||||
, fCharset(NULL)
|
||||
, fCollate(NULL)
|
||||
, fCharsetNum(0)
|
||||
, fExplicitLength(false)
|
||||
{
|
||||
fLength = utils::widthByPrecision(fPrecision);
|
||||
}
|
||||
|
||||
ColumnType::ColumnType(int type)
|
||||
: fType(type), fLength(0), fScale(0), fWithTimezone(false), fCharset(NULL), fExplicitLength(false)
|
||||
: fType(type), fLength(0), fScale(0), fWithTimezone(false),
|
||||
fCharset(NULL), fCollate(NULL), fCharsetNum(0), fExplicitLength(false)
|
||||
{
|
||||
switch (type)
|
||||
{
|
||||
|
Reference in New Issue
Block a user