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

MCOL-4858 This patch fixes HWM comparison for 16 columns and reduces boilerplate code for other column widths

This commit is contained in:
Roman Nozdrin
2021-09-05 12:28:45 +00:00
parent 7d7c982d9e
commit 550d1cf1c4
2 changed files with 42 additions and 111 deletions

View File

@ -189,10 +189,11 @@ private:
void sleepMS(long int ms); // Sleep method
// Compare column HWM with the examplar HWM.
int compareHWMs(const int smallestColumnId,
const int widerColumnId,
const size_t widerColumnWidth,
const std::vector<DBRootExtentInfo>& segFileInfo,
int& colIdx);
const int widerColumnId,
const uint32_t smallerColumnWidth,
const uint32_t widerColumnWidth,
const std::vector<DBRootExtentInfo>& segFileInfo,
int& colIdx);
int synchronizeAutoInc(); // Sychronize AutoInc in BRM with syscat