You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-29 08:21:15 +03:00
MCOL-4779 Keep correct ranges during DML for short char columns
This commit is contained in:
@ -34,6 +34,7 @@
|
||||
#include<sys/time.h>
|
||||
#include "brmtypes.h"
|
||||
#include "mcs_datatype.h"
|
||||
#include "dataconvert.h"
|
||||
#include "IDBDataFile.h"
|
||||
#include "IDBPolicy.h"
|
||||
|
||||
@ -78,6 +79,11 @@ struct ExtCPInfo
|
||||
mm.int128Min = fCPInfo.bigMin;
|
||||
return datatypes::MinMaxInfo::isRangeInvalid(mm, fColType, fColWidth);
|
||||
}
|
||||
void fromToChars()
|
||||
{
|
||||
fCPInfo.max = static_cast<int64_t>(uint64ToStr(fCPInfo.max));
|
||||
fCPInfo.min = static_cast<int64_t>(uint64ToStr(fCPInfo.min));
|
||||
}
|
||||
bool isBinaryColumn()
|
||||
{
|
||||
return fCPInfo.isBinaryColumn;
|
||||
|
Reference in New Issue
Block a user