1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-01 06:46:55 +03:00

MCOL-641 Simple INSERT with one record works with this commit.

This commit is contained in:
Roman Nozdrin
2020-01-09 13:22:56 +00:00
parent df65543dd4
commit 63dcaa387f
5 changed files with 144 additions and 11 deletions

View File

@ -1561,6 +1561,10 @@ void ColumnOp::setColParam(Column& column,
column.compressionType = compressionType;
}
// WIP
using int128_t = __int128;
using uint128_t = unsigned __int128;
/***********************************************************
* DESCRIPTION:
@ -1680,10 +1684,12 @@ int ColumnOp::writeRow(Column& curCol, uint64_t totalRow, const RID* rowIdArray,
if (!bDelete) pVal = &((uint64_t*) valArray)[i];
break;
case WriteEngine::WR_BINARY:
case WriteEngine::WR_INT128:
pVal = &((uint128_t*) valArray)[i];
break;
case WriteEngine::WR_BINARY:
if (!bDelete) pVal = (uint8_t*) valArray + i * curCol.colWidth;
break;
default :