Skip to content

Commit 5b86af0

Browse files
committed
Updated tests\bugs\core_1812_test.py: adjust expected stdout/stderr to current FB version.
1 parent 22dea34 commit 5b86af0

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

tests/bugs/core_1812_test.py

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,17 @@
55
ISSUE: 2242
66
TITLE: Index is not used for some date/time expressions in dialect 1
77
DESCRIPTION:
8-
NOTES:
9-
[02.02.2019] Added separate code for FB 4.0: statements like SELECT TIMESTAMP 'now' FROM RDB$DATABASE;
10-
-- can not be used anymore (Statement failed, SQLSTATE = 22018 / conversion error from string "now").
11-
Details about timezone datatype see in: doc\\sql.extensions\\README.time_zone.md
128
JIRA: CORE-1812
139
FBTEST: bugs.core_1812
10+
NOTES:
11+
[02.02.2019] pzotov
12+
Added separate code for FB 4.0: statements like "SELECT TIMESTAMP 'now' FROM RDB$DATABASE;" can not
13+
be used anymore (error: SQLSTATE = 22018 / conversion error from string "now").
14+
Details about timezone datatype see in: doc\\sql.extensions\\README.time_zone.md
15+
16+
[01.09.2023] pzotov
17+
Adjusted plan for FB 4.x+ to current versions after fixed
18+
https://github.com/FirebirdSQL/firebird/issues/7727
1419
"""
1520

1621
import pytest
@@ -68,7 +73,7 @@ def test_1(act_1: Action):
6873

6974
expected_stdout_2 = """
7075
PLAN (TEST INDEX (TEST_DTS))
71-
PLAN (TEST NATURAL)
76+
PLAN (TEST INDEX (TEST_DTS))
7277
"""
7378

7479
@pytest.mark.version('>=4.0')

0 commit comments

Comments
 (0)