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:
parent
8a50003366
commit
17b287f9ce
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user