Skip to content

Commit cb5a75c

Browse files
committed
Added/Updated tests\bugs\gh_7057_test.py: Raised min_version after check on fresh 5.0.1 -- see notes. Checked on 6.0.0.401-a7d10a4, 5.0.1.1453-62ee5f1.
1 parent 48e158d commit cb5a75c

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

tests/bugs/gh_7057_test.py

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,16 @@
1818
2. Test caused crash of server on snapshots before 6.0.0.401-a7d10a4.
1919
Problem related to MaxStatementCacheSize which default value > 0
2020
(explained by dimitr, letter 19-JUL-2024 12:52).
21-
It seems that bug was fixed in https://github.com/FirebirdSQL/firebird/commit/a7d10a40147d326e56540498b50e40b2da0e5850
22-
("Fix #8185 - SIGSEGV with WHERE CURRENT OF statement with statement cache turned on.")
23-
3. Currently this test can run only in 6.0.0.401-a7d10a4 and later.
21+
22+
It seems that bug was fixed in:
23+
FB 5.x: https://github.com/FirebirdSQL/firebird/commit/08dc25f8c45342a73c786bc60571c8a5f2c8c6e3 (27.07.2024 14:55)
24+
FB 6.x: https://github.com/FirebirdSQL/firebird/commit/a7d10a40147d326e56540498b50e40b2da0e5850 (29.07.2024 03:53)
25+
("Fix #8185 - SIGSEGV with WHERE CURRENT OF statement with statement cache turned on.")
2426
25-
Checked on 6.0.0.401-a7d10a4.
27+
3. Attempt to run this test on FB 4.0.5.3127 (10-JUL-2024) raises:
28+
"E firebird.driver.types.DatabaseError: feature is not supported"
29+
30+
Checked on 6.0.0.401-a7d10a4, 5.0.1.1453-62ee5f1.
2631
"""
2732
import pytest
2833
from firebird.qa import *
@@ -47,7 +52,7 @@ def print_row(row, cur = None):
4752

4853

4954
@pytest.mark.scroll_cur
50-
@pytest.mark.version('>=6.0.0')
55+
@pytest.mark.version('>=5.0.1')
5156
def test_1(act: Action, capsys):
5257
with act.db.connect() as con:
5358
con.execute_immediate('recreate table ts(id int)')

0 commit comments

Comments
 (0)