1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-27 21:01:50 +03:00

MCOL-4174 Review/refactor frontend/connector code

This commit is contained in:
Alexander Barkov
2020-10-20 15:35:36 +04:00
committed by Roman Nozdrin
parent 68244ab957
commit 129d5b5a0f
70 changed files with 6982 additions and 4927 deletions

View File

@ -31,7 +31,6 @@
#include <cassert>
#include "dataconvert.h"
#include "widedecimalutils.h"
#include "oamcache.h"
#include "rwlock.h"
#include "mastersegmenttable.h"
@ -4541,7 +4540,7 @@ void DBRM::invalidateUncommittedExtentLBIDs(execplan::CalpontSystemCatalog::SCN
aInfo.isBinaryColumn = isBinaryColumn;
if (!isBinaryColumn)
{
if (execplan::isUnsigned(colType.colDataType))
if (datatypes::isUnsigned(colType.colDataType))
{
aInfo.max = 0;
aInfo.min = numeric_limits<uint64_t>::max();
@ -4554,7 +4553,7 @@ void DBRM::invalidateUncommittedExtentLBIDs(execplan::CalpontSystemCatalog::SCN
}
else
{
if (execplan::isUnsigned(colType.colDataType))
if (datatypes::isUnsigned(colType.colDataType))
{
aInfo.bigMax = 0;
aInfo.bigMin = -1;