Menu

Commit [r13086]  Maximize  Restore  History

C# back end: report group breaks compile without an ORDER BY

ordGroup was declared inside "if (cnt)" - only when the report has ORDER BY
variables - but the three blocks below it use the variable unconditionally. A
report without an ORDER BY emitted the uses and not the declaration, and the
generated method would not compile. The declaration is hoisted out of the
guard; the comparison loop that needs the ORDER BY list stays inside it.

mikeaubury 2026-09-05

changed /aubit4glsrc/trunk/lib/liblex/lex_cs/dump_report.c
/aubit4glsrc/trunk/lib/liblex/lex_cs/dump_report.c Diff Switch to side-by-side view
Loading...