Dimitry Sibiryakov писал(а) в своём письме Sun, 04 May
2014 13:39:22 +0400:
> 04.05.2014 11:34, Simonov Denis wrote:
>> Maybe you're right. But I am surprised at the difference in treatment in
>> the Legacy and the new API. And also the fact that in Fb2.5 is handled
>> differently.
>
>Follo
04.05.2014 11:34, Simonov Denis wrote:
> Maybe you're right. But I am surprised at the difference in treatment in
> the Legacy and the new API. And also the fact that in Fb2.5 is handled
> differently.
Following patch should fix the issue:
> Index: why.cpp
> ===
Dimitry Sibiryakov писал(а) в своём письме Sun, 04 May
2014 13:26:51 +0400:
> 04.05.2014 11:10, Simonov Denis wrote:
>> execute block
>> as
>> begin
>> suspend;
>> end
>>
>> FB2.5
>>
>> No result. It's good.
>
>IMHO, such construction must produce error "no output variables" at
> pre
04.05.2014 11:10, Simonov Denis wrote:
> execute block
> as
> begin
> suspend;
> end
>
> FB2.5
>
> No result. It's good.
IMHO, such construction must produce error "no output variables" at prepare
time as it
is does "select from t":
SQL> select from rdb$database;
Statement failed, SQLST
Not handled correctly is such a design in Legacy API.
IBExpert
execute block
as
begin
suspend;
end
FB2.5
No result. It's good.
FB3.0
An error was found in the application program input parameters for the SQL
statement.
Incorrect values within SQLDA structure.
SQL error code = -804.
e