mirror of
https://github.com/FirebirdSQL/firebird-qa.git
synced 2025-01-22 21:43:06 +01:00
Added/Updated tests\functional\transactions\test_read_consist_sttm_restart_on_merge_03.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:
parent
3e3a3dd666
commit
2778a39a9b
@ -138,6 +138,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
|
||||
@ -224,7 +228,6 @@ def test_1(act: Action, fn_worker_sql: Path, fn_worker_log: Path, fn_worker_err:
|
||||
using(select * from {target_obj} where id >= 3 order by id) s on t.id = s.id
|
||||
when matched then
|
||||
DELETE
|
||||
;
|
||||
"""
|
||||
|
||||
# add rows to test with ID = 2, 3, 5; add several child rows into detl.
|
||||
@ -412,7 +415,6 @@ def test_1(act: Action, fn_worker_sql: Path, fn_worker_log: Path, fn_worker_err:
|
||||
allowed_patterns = \
|
||||
[
|
||||
'\\)\\s+EXECUTE_STATEMENT_RESTART$'
|
||||
#,re.escape(SQL_TO_BE_RESTARTED)
|
||||
,'^Restarted \\d+ time\\(s\\)'
|
||||
]
|
||||
allowed_patterns = [re.compile(x) for x in allowed_patterns]
|
||||
|
Loading…
Reference in New Issue
Block a user