Skip to content

Commit 775a92a

Browse files
committed
Added/Updated C:\FBTESTING\qa\fbt-repo\tests\bugs\core_0501.fbt: adjusted expected_stderr: '-No SQLDA for input values provided' message must be for parametrized sttatement after fix CORE-6447.
1 parent 1ae096e commit 775a92a

1 file changed

Lines changed: 5 additions & 15 deletions

File tree

tests/bugs/core_0501.fbt

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -7,22 +7,12 @@
77
"""
88
It tests many problems Adriano found when fixing CORE-501, CORE-1343 and CORE-2041.
99

10-
::: NB :::
11-
Some strange message about diff. can appear (only on Classic architecture)
12-
when script performs last statement:
13-
===
14-
SET SQLDA_DISPLAY ON;
15-
select coalesce(1 + cast(? as integer), 2 + cast(? as integer))
16-
from rdb$database
17-
where coalesce(3 + cast(? as bigint), null) = 0;
18-
===
19-
Instead of:
20-
"-Wrong number of parameters (expected 3, got 0)"
21-
ISQL fails with:
22-
"-No SQLDA for input values provided".
23-
2410
25.04.2020. Fixed lot of bugs related to wrong count of updatable columns (they were not specified in DML).
2511
Replaced test_type to 'ISQL' because all can be done wo Python calls. Checked on 3.0.6.33289, 4.0.0.1935.
12+
13+
18.11.2020. Changed expected_stderr for parametrized statement "select coalesce(1 + cast(? ...), 2 + cast(? ...)) ...":
14+
now it must be "-No SQLDA for input values provided" (was: "-Wrong number of parameters (expected 3, got 0)").
15+
Output became proper since CORE-6447 was fixed.
2616
""",
2717
'min_versions': '2.5.0',
2818
'versions': [
@@ -1493,7 +1483,7 @@ Dynamic SQL Error
14931483
Statement failed, SQLSTATE = 07002
14941484
Dynamic SQL Error
14951485
-SQLDA error
1496-
-Wrong number of parameters (expected 3, got 0)
1486+
-No SQLDA for input values provided
14971487
""",
14981488
'substitutions':[ ('[ \t]+',' ') ]
14991489
}

0 commit comments

Comments
 (0)