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-392 Fix cpimport and >8bit positive hour
This commit is contained in:
@ -1543,7 +1543,7 @@ void RowAggregation::doBitOp(const Row& rowIn, int64_t colIn, int64_t colOut, in
|
||||
int64_t dtm = rowIn.getUintField(colIn);
|
||||
// Handle negative correctly
|
||||
int hour = 0;
|
||||
if ((dtm >> 40) & 0xf00)
|
||||
if ((dtm >> 40) & 0x800)
|
||||
{
|
||||
hour = 0xfffff000;
|
||||
}
|
||||
|
Reference in New Issue
Block a user