6
0
mirror of https://github.com/FirebirdSQL/firebird-qa.git synced 2025-01-22 13:33:07 +01:00

Added/Updated tests\functional\transactions\test_read_consist_sttm_restart_on_merge_02.py: Writing code requires more care since 6.0.0.150: ISQL does not allow specifying duplicate delimiters without any statements between them (two semicolon, two carets etc). Merge expression defined in 'SQL_TO_BE_RESTARTED' must NOT end with semicolon

This commit is contained in:
pavel-zotov 2023-11-26 00:54:23 +03:00
parent 02b4278725
commit 3e3a3dd666

View File

@ -149,6 +149,10 @@ NOTES:
NB! Worker transaction must running in WAIT mode - in contrary to Tx that we start in our monitoring loop.
Checked on WI-T6.0.0.48, WI-T5.0.0.1211, WI-V4.0.4.2988.
[25.11.2023] pzotov
Writing code requires more care since 6.0.0.150: ISQL does not allow specifying duplicate delimiters without any statements between them (two semicolon, two carets etc).
Merge expression defined in 'SQL_TO_BE_RESTARTED' must NOT end with semicolon!
"""
import subprocess
@ -278,7 +282,6 @@ def test_1(act: Action, fn_worker_sql: Path, fn_worker_log: Path, fn_worker_err:
using(select * from {target_obj} where id < 0 or id >= 3 order by id) s on t.id = s.id
when matched then
DELETE
;
"""
# add rows with ID = 1,2,3,4,5:
sql_addi = f'''