mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 00:03:03 +01:00
Fix the arithmetics thanks to Claudio
This commit is contained in:
parent
63f0499764
commit
6fa63f17f9
@ -1800,8 +1800,8 @@ static void par_partition_by(thread_db* tdbb, CompilerScratch* csb, jrd_nod*& gr
|
||||
|
||||
for (unsigned i = 0; i < count; ++i)
|
||||
{
|
||||
groupNode->nod_arg[count + i * count + i] = (jrd_nod*)(IPTR) false; // ascending
|
||||
groupNode->nod_arg[count + i * count + count + i] = (jrd_nod*)(IPTR) rse_nulls_first;
|
||||
groupNode->nod_arg[count + i] = (jrd_nod*)(IPTR) false; // ascending
|
||||
groupNode->nod_arg[count * 2 + i] = (jrd_nod*)(IPTR) rse_nulls_first;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user