8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-02-02 10:40:38 +01:00

Postfix for CORE-6344 - fixed SUM() & AVG()

This commit is contained in:
AlexPeshkoff 2020-07-06 16:43:04 +03:00
parent 8a50003366
commit 17b287f9ce

View File

@ -605,6 +605,7 @@ void AvgAggNode::getDesc(thread_db* tdbb, CompilerScratch* csb, dsc* desc)
desc->dsc_length = sizeof(Int128);
desc->dsc_flags = 0;
nodScale = desc->dsc_scale;
nodFlags |= FLAG_INT128;
break;
case dtype_unknown:
@ -1150,6 +1151,7 @@ void SumAggNode::getDesc(thread_db* tdbb, CompilerScratch* csb, dsc* desc)
desc->dsc_length = sizeof(Int128);
desc->dsc_flags = 0;
nodScale = desc->dsc_scale;
nodFlags |= FLAG_INT128;
return;
case dtype_unknown: