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_04.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:56:49 +03:00
parent 2778a39a9b
commit cb59e14caa

View File

@ -160,6 +160,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
@ -247,7 +251,7 @@ def test_1(act: Action, fn_worker_sql: Path, fn_worker_log: Path, fn_worker_err:
when matched then
update set t.id = -t.id
when not matched then
insert(id,x) values(1000 + s.id, 1000 + s.x);
insert(id,x) values(1000 + s.id, 1000 + s.x)
"""
sql_addi = f'''