assert   
    create database ... page_size 9223372036854775809 default character set win1251
    Statement failed, SQLSTATE = 42000
    Dynamic SQL Error
    -SQL error code = -104
    -Token unknown
    -9223372036854775809
    create database ... page_size 9223372036854775809
  + Statement failed, SQLSTATE = 28000
  + unsuccessful metadata update
  + -ALTER DATABASE failed
  + -no permission for ALTER access to DATABASE
    DB created. Actual page_size: 32768
    create database ... page_size 9223372036854775808 default character set win1251
    Statement failed, SQLSTATE = 42000
    Dynamic SQL Error
    -SQL error code = -104
    -Token unknown
    -9223372036854775808
    create database ... page_size 9223372036854775808
  + Statement failed, SQLSTATE = 28000
  + unsuccessful metadata update
  + -ALTER DATABASE failed
  + -no permission for ALTER access to DATABASE
    DB created. Actual page_size: 32768
    create database ... page_size 9223372036854775807 default character set win1251
    St

[...SKIPPED...]

ult character set win1251
2026-07-23 21:48:02.929 E           Statement failed, SQLSTATE = 42000
2026-07-23 21:48:02.929 E           Dynamic SQL Error
2026-07-23 21:48:02.929 E           -SQL error code = -104
2026-07-23 21:48:02.929 E           -Token unknown
2026-07-23 21:48:02.929 E           --
2026-07-23 21:48:02.929 E           create database ... page_size -32768
2026-07-23 21:48:02.929 E           Statement failed, SQLSTATE = 42000
2026-07-23 21:48:02.929 E           Dynamic SQL Error
2026-07-23 21:48:02.929 E           -SQL error code = -104
2026-07-23 21:48:02.929 E           -Token unknown
2026-07-23 21:48:02.929 E           --
2026-07-23 21:48:02.929
2026-07-23 21:48:02.929 tests\bugs\core_6316_test.py:567: AssertionError
2026-07-23 21:48:02.929 ---------------------------- Captured stdout call -----------------------------
2026-07-23 21:48:02.929 Creating db: localhost:R:\Temp\qa\fbqa\test_11343\test.fdb [page_size=None, sql_dialect=None, charset='NONE', user=SYSDBA, password=masterkey]