assert   
    INITIAL_DB_NAME /VAR/TMP/QA_2024/TEST_1966/TEST.FDB
    INITIAL_PROTOCOL <null>
    INITIAL_USER SYSDBA
  + Statement failed, SQLSTATE = 28000
  + unsuccessful metadata update
  + -ALTER DATABASE failed
  + -no permission for ALTER access to DATABASE
  - NEW_DB_NAME /HOME/FBQA/QA-2024/UNPACKED-SNAPSHOT.TMP/EXAMPLES/EMPBUILD/QA/TMP_CORE_4864.FDB
  - NEW_DB_OWNER SYSDBA
  - NEW_DB_SEC_DATABASE Self
  - NEW_DB_USER TMP$USER_4864
  - SEC$USER_NAME TMP$USER_4864
  - SEC$PLUGIN Srp

LOG DETAILS:

2026-07-22 08:10:41.221
2026-07-22 08:10:41.232 act = <firebird.qa.plugin.Action object at [hex]>
2026-07-22 08:10:41.242 capsys = <_pytest.capture.CaptureFixture object at [hex]>
2026-07-22 08:10:41.251
2026-07-22 08:10:41.264 @pytest.mark.version('>=3.0')
2026-07-22 08:10:41.271 def test_1(act: Action, capsys):
2026-07-22 08:10:41.277
2026-07-22 08:10:41.285 # Scan line-by-line through databases.conf, find line starting with REQUIRED_ALIAS and extract name of file that
2026-07-22 08:10:41.296 # mu

[...SKIPPED...]

d, SQLSTATE = 28000
2026-07-22 08:10:41.974 E         + unsuccessful metadata update
2026-07-22 08:10:41.982 E         + -ALTER DATABASE failed
2026-07-22 08:10:41.989 E         + -no permission for ALTER access to DATABASE
2026-07-22 08:10:42.001 E         - NEW_DB_NAME /HOME/FBQA/QA-2024/UNPACKED-SNAPSHOT.TMP/EXAMPLES/EMPBUILD/QA/TMP_CORE_4864.FDB
2026-07-22 08:10:42.008 E         - NEW_DB_OWNER SYSDBA
2026-07-22 08:10:42.015 E         - NEW_DB_SEC_DATABASE Self
2026-07-22 08:10:42.021 E         - NEW_DB_USER TMP$USER_4864
2026-07-22 08:10:42.031 E         - SEC$USER_NAME TMP$USER_4864
2026-07-22 08:10:42.043 E         - SEC$PLUGIN Srp
2026-07-22 08:10:42.051
2026-07-22 08:10:42.059 tests/bugs/core_4864_test.py:165: AssertionError
2026-07-22 08:10:42.068 ---------------------------- Captured stdout setup -----------------------------
2026-07-22 08:10:42.078 Creating db: localhost:/var/tmp/qa_2024/test_1966/test.fdb [page_size=None, sql_dialect=None, charset='NONE', user=SYSDBA, password=masterkey]