mirror of
https://github.com/FirebirdSQL/firebird-qa.git
synced 2025-01-22 21:43:06 +01:00
Added/Updated tests\bugs\gh_7482_test.py: see notes in the test
This commit is contained in:
parent
3c092813ab
commit
f4fa586ddf
@ -7,6 +7,13 @@ TITLE: Result of blob_append(null, null) (literal '<null>') is not shown
|
|||||||
NOTES:
|
NOTES:
|
||||||
[14.02.2023] pzotov
|
[14.02.2023] pzotov
|
||||||
Checked on 5.0.0.958, intermediate build of 24-feb-2023. All OK.
|
Checked on 5.0.0.958, intermediate build of 24-feb-2023. All OK.
|
||||||
|
|
||||||
|
[03.03.2023] pzotov
|
||||||
|
Waiting for patch in FB 4.x that fixes problem with <null> literal (4.0.3.2904 still fails).
|
||||||
|
Added substitution for suppressing 'Nullable' flags in the SQLDA output: it is sufficient for this test
|
||||||
|
to check only datatypes of result.
|
||||||
|
Discussed with Vlad, letters 02-mar-2023 16:01 and 03-mar-2023 14:43.
|
||||||
|
Checked on 5.0.0.967.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import pytest
|
import pytest
|
||||||
@ -21,7 +28,7 @@ test_script = """
|
|||||||
select blob_append(null, null) as blob_result from rdb$database;
|
select blob_append(null, null) as blob_result from rdb$database;
|
||||||
"""
|
"""
|
||||||
|
|
||||||
act = isql_act('db', test_script, substitutions = [('^((?!sqltype:|BLOB_RESULT).)*$', ''), ('[ \t]+', ' ')])
|
act = isql_act('db', test_script, substitutions = [('^((?!sqltype:|BLOB_RESULT).)*$', ''), ('BLOB Nullable', 'BLOB'), ('[ \t]+', ' ')])
|
||||||
|
|
||||||
expected_stdout = """
|
expected_stdout = """
|
||||||
01: sqltype: 520 BLOB Nullable scale: 0 subtype: 0 len: 8
|
01: sqltype: 520 BLOB Nullable scale: 0 subtype: 0 len: 8
|
||||||
|
Loading…
Reference in New Issue
Block a user