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-641 Refactor empty value implementation in writeengine.
This commit is contained in:
committed by
Roman Nozdrin
parent
97ee1609b2
commit
824615a55b
@ -370,8 +370,6 @@ uint8_t WE_DMLCommandProc::processSingleInsert(messageqcpp::ByteStream& bs, std:
|
||||
|
||||
try
|
||||
{
|
||||
// WIP
|
||||
// make convertColumnData a template
|
||||
datavalue = DataConvert::convertColumnData(colType, indata, pushWarning, insertPkg.get_TimeZone(), isNULL, false, false);
|
||||
}
|
||||
catch (exception&)
|
||||
@ -388,7 +386,7 @@ uint8_t WE_DMLCommandProc::processSingleInsert(messageqcpp::ByteStream& bs, std:
|
||||
return rc;
|
||||
}
|
||||
|
||||
if ( pushWarning)
|
||||
if (pushWarning)
|
||||
{
|
||||
if (!isWarningSet)
|
||||
isWarningSet = true;
|
||||
@ -546,7 +544,7 @@ uint8_t WE_DMLCommandProc::processSingleInsert(messageqcpp::ByteStream& bs, std:
|
||||
WErrorCodes ec;
|
||||
err = ec.errorString(error);
|
||||
}
|
||||
else if ( error == ERR_BRM_VB_OVERFLOW )
|
||||
else if (error == ERR_BRM_VB_OVERFLOW)
|
||||
{
|
||||
rc = dmlpackageprocessor::DMLPackageProcessor::VB_OVERFLOW_ERROR;
|
||||
err = IDBErrorInfo::instance()->errorMsg(ERR_VERSIONBUFFER_OVERFLOW);
|
||||
@ -561,9 +559,9 @@ uint8_t WE_DMLCommandProc::processSingleInsert(messageqcpp::ByteStream& bs, std:
|
||||
}
|
||||
|
||||
std::map<uint32_t, uint32_t> oids;
|
||||
std::vector<BRM::OID_t> oidsToFlush;
|
||||
std::vector<BRM::OID_t> oidsToFlush;
|
||||
|
||||
for ( unsigned i = 0; i < colStructs.size(); i++)
|
||||
for (unsigned i = 0; i < colStructs.size(); i++)
|
||||
{
|
||||
oids[colStructs[i].dataOid] = colStructs[i].dataOid;
|
||||
oidsToFlush.push_back(colStructs[i].dataOid);
|
||||
|
Reference in New Issue
Block a user