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 negative zero hours
Also fix some functions that were not behaving correctly
This commit is contained in:
@ -197,7 +197,7 @@ int64_t Func_least::getTimeIntVal(rowgroup::Row& row,
|
||||
int64_t str1 = fp[i]->data()->getTimeIntVal(row, isNull);
|
||||
int64_t str2 = str1 << 12;
|
||||
|
||||
if ( str > str1 )
|
||||
if ( str > str2 )
|
||||
{
|
||||
leastStr = str1;
|
||||
str = str2;
|
||||
|
Reference in New Issue
Block a user