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-265 Add support for TIMESTAMP data type
This commit is contained in:
@ -3537,6 +3537,7 @@ uint8_t WE_DDLCommandProc::fillNewColumn(ByteStream& bs, std::string& err)
|
||||
int dataWidth, scale, precision, compressionType, refColWidth, refCompressionType;
|
||||
string defaultValStr;
|
||||
ColTuple defaultVal;
|
||||
string timeZone;
|
||||
|
||||
bs >> tmp32;
|
||||
txnID = tmp32;
|
||||
@ -3565,6 +3566,7 @@ uint8_t WE_DDLCommandProc::fillNewColumn(ByteStream& bs, std::string& err)
|
||||
refColWidth = tmp32;
|
||||
bs >> tmp8;
|
||||
refCompressionType = tmp8;
|
||||
bs >> timeZone;
|
||||
//Find the fill in value
|
||||
bool isNULL = false;
|
||||
|
||||
@ -3577,7 +3579,7 @@ uint8_t WE_DDLCommandProc::fillNewColumn(ByteStream& bs, std::string& err)
|
||||
colType.scale = scale;
|
||||
colType.precision = precision;
|
||||
bool pushWarning = false;
|
||||
defaultVal.data = DataConvert::convertColumnData(colType, defaultValStr, pushWarning, isNULL);
|
||||
defaultVal.data = DataConvert::convertColumnData(colType, defaultValStr, pushWarning, timeZone, isNULL, false, false);
|
||||
fWEWrapper.setTransId(txnID);
|
||||
fWEWrapper.setIsInsert(true);
|
||||
fWEWrapper.setBulkFlag(true);
|
||||
|
Reference in New Issue
Block a user