Skip to content

Commit f4fa586

Browse files
committed
Added/Updated tests\bugs\gh_7482_test.py: see notes in the test
1 parent 3c09281 commit f4fa586

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

tests/bugs/gh_7482_test.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@
77
NOTES:
88
[14.02.2023] pzotov
99
Checked on 5.0.0.958, intermediate build of 24-feb-2023. All OK.
10+
11+
[03.03.2023] pzotov
12+
Waiting for patch in FB 4.x that fixes problem with <null> literal (4.0.3.2904 still fails).
13+
Added substitution for suppressing 'Nullable' flags in the SQLDA output: it is sufficient for this test
14+
to check only datatypes of result.
15+
Discussed with Vlad, letters 02-mar-2023 16:01 and 03-mar-2023 14:43.
16+
Checked on 5.0.0.967.
1017
"""
1118

1219
import pytest
@@ -21,7 +28,7 @@
2128
select blob_append(null, null) as blob_result from rdb$database;
2229
"""
2330

24-
act = isql_act('db', test_script, substitutions = [('^((?!sqltype:|BLOB_RESULT).)*$', ''), ('[ \t]+', ' ')])
31+
act = isql_act('db', test_script, substitutions = [('^((?!sqltype:|BLOB_RESULT).)*$', ''), ('BLOB Nullable', 'BLOB'), ('[ \t]+', ' ')])
2532

2633
expected_stdout = """
2734
01: sqltype: 520 BLOB Nullable scale: 0 subtype: 0 len: 8

0 commit comments

Comments
 (0)