You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-30 19:23:07 +03:00
MCOL-2000 Process charset definitions in the DDL
MCOL-2000 Process charset definitions in the ALTER TABLE .. ADD COLUMN MCOL-2000 Yet another fixes for column charsets * make respect for column (including table/db/server default) charsets for the TEXT(n) fields * round TEXT(n) column length up to the next default length of TEXT-like subtypes, 255 (TINYTEXT), 65535 (TEXT) and so on up to 2100000000 (LONGTEXT)
This commit is contained in:
@ -67,7 +67,9 @@ ColumnType::ColumnType(int prec, int scale) :
|
||||
fLength(0),
|
||||
fPrecision(prec),
|
||||
fScale(scale),
|
||||
fWithTimezone(false)
|
||||
fWithTimezone(false),
|
||||
fCharset(NULL),
|
||||
fExplicitLength(false)
|
||||
{
|
||||
fLength = utils::widthByPrecision(fPrecision);
|
||||
}
|
||||
@ -76,7 +78,9 @@ ColumnType::ColumnType(int type) :
|
||||
fType(type),
|
||||
fLength(0),
|
||||
fScale(0),
|
||||
fWithTimezone(false)
|
||||
fWithTimezone(false),
|
||||
fCharset(NULL),
|
||||
fExplicitLength(false)
|
||||
{
|
||||
switch ( type )
|
||||
{
|
||||
|
Reference in New Issue
Block a user