Skip to content

Commit bc74fc6

Browse files
committed
Added/Updated tests\bugs\gh_7466_test.py: Adjusted expected output after commit f62a27ec: DDL trigger is loaded into metadata cache only once.
1 parent 1d6cfa0 commit bc74fc6

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

tests/bugs/gh_7466_test.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,16 @@
3434
its altering and its dropping - although there is no re-connect between these actions). This is conisdered as bug,
3535
see: https://github.com/FirebirdSQL/firebird/pull/7426 (currently it is not yet fixed).
3636
37+
Checked on 5.0.0.1164.
3738
Thanks to dimitr for explanations.
3839
Discussed with dimitr, letters 17.08.2023.
3940
40-
Checked on 5.0.0.1164
41+
[06-sep-2023] pzotov
42+
Changed expected output: DDL trigger is loaded into metadata cache only once, so we have to check only SINGLE
43+
occurence of "Trigger TRG_DDL (AFTER DDL)" event.
44+
See also: https://github.com/FirebirdSQL/firebird/commit/00c2d10102468d5494b413c0de295079f62a27ec
45+
46+
Checkec on 5.0.0.1190
4147
"""
4248
import locale
4349
import re
@@ -268,8 +274,6 @@ def test_1(act: Action, capsys):
268274
Trigger TRG_DB_CONN (ON CONNECT):
269275
Trigger TRG_TEST_BIU FOR TEST (BEFORE INSERT):
270276
Trigger TRG_DDL (AFTER DDL):
271-
Trigger TRG_DDL (AFTER DDL):
272-
Trigger TRG_DDL (AFTER DDL):
273277
"""
274278

275279
act.expected_stdout = expected_stdout

0 commit comments

Comments
 (0)