assert   
  + Statement failed, SQLSTATE = 22003
  + arithmetic exception, numeric overflow, or string truncation
  + -numeric value is out of range
  + Records affected: 0
  + Statement failed, SQLSTATE = 22003
  + arithmetic exception, numeric overflow, or string truncation
  + -numeric value is out of range
  + Records affected: 0
  + Statement failed, SQLSTATE = 22003
  + arithmetic exception, numeric overflow, or string truncation
  + -numeric value is out of range
  + Records affected: 0
  + INT128_R6 -1
  + Records affected: 1
  + Records affected: 0
  + Records affected: 0
  + Statement failed, SQLSTATE = 22003
  + arithmetic exception, numeric overflow, or string truncation
  + -numeric value is out of range
  + Records affected: 0
  + Records affected: 0
  + Statement failed, SQLSTATE = 22003
  + arithmetic exception, numeric overflow, or string truncation
  + -numeric value is out of range
  + Records affected: 0
  + Statement failed, SQLSTATE = 22003
  + arithmetic exception, numeric ove

[...SKIPPED...]

 E           Records affected: 0
2024-04-05 06:52:09.195 E           Records affected: 0
2024-04-05 06:52:09.195 E         - Records affected: 0
2024-04-05 06:52:09.195 E         - Records affected: 0
2024-04-05 06:52:09.195 E         - Records affected: 0
2024-04-05 06:52:09.195 E         - Records affected: 0
2024-04-05 06:52:09.195 E         - Records affected: 0
2024-04-05 06:52:09.195 E         - Records affected: 0
2024-04-05 06:52:09.195 E         - Records affected: 0
2024-04-05 06:52:09.195 E         - Records affected: 0
2024-04-05 06:52:09.195 E         - Records affected: 0
2024-04-05 06:52:09.195 E         - Records affected: 0
2024-04-05 06:52:09.195 E         - Records affected: 0
2024-04-05 06:52:09.195
2024-04-05 06:52:09.195 tests\bugs\gh_7997_test.py:94: AssertionError
2024-04-05 06:52:09.195 ---------------------------- Captured stdout setup ----------------------------
2024-04-05 06:52:09.195 Cached db: db-13.0-None-None-NONE.fdb [page_size=None, sql_dialect=None, charset='NONE'