Em sáb., 9 de mai. de 2020 às 01:45, Tom Lane <t...@sss.pgh.pa.us> escreveu:
> James Coleman <jtc...@gmail.com> writes: > > There are always full sort groups before any prefix groups can happen, > > so we know (even though the tooling doesn't) that the 2nd test can > > never contradict the first. > > So maybe an assertion enforcing that would be appropriate? > Untested, but: > > - if (fullsortGroupInfo->groupCount == 0 && > - prefixsortGroupInfo->groupCount == 0) > + if (fullsortGroupInfo->groupCount == 0) > + { > + Assert(prefixsortGroupInfo->groupCount == > 0); > continue; > + } > I agree, asserts always help. regards, Ranier Vilela
fix_division_by_zero_explain_v2.patch
Description: Binary data