"F"-serie (CS): len=45, 6.0.0.1819 2026.03.12 61354aef - 6.0.0.1995 2026.06.04 85ebde47
assert   
    PLAN SORT ("PUBLIC"."V_TEST" "B" INDEX ("PUBLIC"."BALANCES_BALANCEDATE_ORGACCOUNT"))
  - PLAN SORT ("PUBLIC"."V_TEST" "B" INDEX ("PUBLIC"."FK_BALANCES_ORGACCOUNTS", "PUBLIC"."BALANCES_BALANCEDATE_DESC"))
  + PLAN ("PUBLIC"."V_TEST" "B" ORDER "PUBLIC"."BALANCES_BALANCEDATE_DESC" INDEX ("PUBLIC"."FK_BALANCES_ORGACCOUNTS"))

LOG DETAILS:

2026-04-06 04:22:39.543
2026-04-06 04:22:39.543 act = <firebird.qa.plugin.Action object at [hex]>
2026-04-06 04:22:39.543
2026-04-06 04:22:39.543     @pytest.mark.version('>=3.0.4')
2026-04-06 04:22:39.543     def test_1(act: Action):
2026-04-06 04:22:39.543         act.expected_stdout = expected_stdout_4x if act.is_version('<5') else expected_stdout_5x if act.is_version('<6') else expected_stdout_6x
2026-04-06 04:22:39.543         act.execute(combine_output = True)
2026-04-06 04:22:39.543 >       assert act.clean_stdout == act.clean_expected_stdout
2026-04-06 04:22:39.543 E       assert
2026-04-06 04:22:39.543 E           PLAN SORT ("PUBLIC"."V_TEST" "B" INDEX ("PUBLIC"."BALANCES_BALANCEDATE_ORGACCOUNT"))
2026-04-06 04:22:39.543 E         - PLAN SORT ("PUBLIC"."V_TEST" "B" INDEX ("PUBLIC"."FK_BALANCES_ORGACCOUNTS", "PUBLIC"."BALANCES_BALANCEDATE_DESC"))
2026-04-06 04:22:39.543 E         + PLAN ("PUBLIC"."V_TEST" "B" ORDER "PUBLIC"."BALANCES_BALANCEDATE_DESC" INDEX ("PUBLIC"."FK_BALANCES_ORGACCOUNTS"))
2026-04-06 04:22:39.543
2026-04-06 04:22:39.543 tests\bugs\core_5481_test.py:102: AssertionError
2026-04-06 04:22:39.543 ---------------------------- Captured stdout setup ----------------------------
2026-04-06 04:22:39.543 Creating db: localhost:R:\Temp\qa\fbqa\test_11120\test.fdb [page_size=None, sql_dialect=None, charset='NONE', user=SYSDBA, password=masterkey]