1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-30 19:23:07 +03:00

Fix(MCOL-4607): SEC_TO_TIME(wideDecimal) returns 0 in DECIMAL context (#3474)

This commit is contained in:
Akhmad Oripov
2025-03-31 16:05:07 +02:00
committed by GitHub
parent 1bcf63a436
commit a329f4d428
3 changed files with 26 additions and 1 deletions

View File

@ -221,7 +221,7 @@ execplan::IDB_Decimal Func_sec_to_time::getDecimalVal(rowgroup::Row& row, Functi
tmpVal = strtoll(str, &ep, 10);
}
if (parm[0]->data()->resultType().isWideDecimalType())
if (op_ct.isWideDecimalType())
d.s128Value = tmpVal;
else
d.value = tmpVal;