Firebird stored procedure returning void dataset raise exception
Posted: 30.08.2022, 11:23
With Firebird (3 and 2.5) stored procedure returning void dataset raise exception 'Row buffer is not assigned' at
Call stack:
Can't find any solution. Reconnect helps only once.
Example project (Delphi 7) attached.
Procedure DDL:
Code: Select all
function TZRowAccessor.IsNull(ColumnIndex: Integer): Boolean;
Code: Select all
TZRowAccessor.IsNull(0)
TZAbstractCachedResultSet.IsNull(0)
TZAbstractPreparedStatement.IsNull(1)
TZAbstractCallableStatement.IsNull(1)
TZAbstractRODataset.RetrieveParamValues
TZAbstractRODataset.InternalOpen
TZStoredProc.InternalOpen
ZFBSPVoidTest
Example project (Delphi 7) attached.
Procedure DDL:
Code: Select all
SET TERM ^ ;
CREATE OR ALTER PROCEDURE VOID_TEST_PROC ( inparam integer)
returns ( outparam integer)
as
begin
if (inparam = 0 ) then exit;
outparam = inparam;
suspend;
outparam = inparam + 1;
suspend;
end^
SET TERM ; ^