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-641 Refactor empty value implementation in writeengine.
This commit is contained in:
committed by
Roman Nozdrin
parent
97ee1609b2
commit
824615a55b
@ -374,7 +374,8 @@ void BulkRollbackFileCompressed::reInitTruncColumnExtent(
|
||||
|
||||
if (nBlocksToInit > 0)
|
||||
{
|
||||
uint64_t emptyVal = fDbFile.getEmptyRowValue( colType, colWidth );
|
||||
uint8_t* emptyVal = (uint8_t*) alloca(colWidth);
|
||||
fDbFile.getEmptyRowValue( colType, colWidth, emptyVal );
|
||||
rc = fDbFile.reInitPartialColumnExtent( pFile,
|
||||
(chunkPtrs[chunkIndex].first + restoredChunkLen),
|
||||
nBlocksToInit,
|
||||
|
Reference in New Issue
Block a user