1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-11-27 08:21:15 +03:00

Merge pull request #1015 from pleblanc1976/mcol-3716

Mcol-3716: Wrong min/max after cpimport which causes wrong select results
This commit is contained in:
Patrick LeBlanc
2020-01-31 10:44:08 -06:00
committed by Patrick LeBlanc
parent 4b4198608d
commit 9e24412681
2 changed files with 7 additions and 7 deletions

View File

@@ -44,7 +44,7 @@ public:
int64_t satCount;
BLBufferStats(ColDataType colDataType) : satCount(0)
{
if (isUnsigned(colDataType))
if (isUnsigned(colDataType) || isCharType(colDataType))
{
minBufferVal = static_cast<int64_t>(MAX_UBIGINT);
maxBufferVal = static_cast<int64_t>(MIN_UBIGINT);