Raising FB-Exception with 2 Parameters: <Missing arg #1 - possibly status vector overflow>

Discussion of open issues, suggestions and bugs regarding IBDAC (InterBase Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Jank
Posts: 32
Joined: Tue 11 May 2010 11:57

Raising FB-Exception with 2 Parameters: <Missing arg #1 - possibly status vector overflow>

Post by Jank » Fri 02 Aug 2019 09:37

Hi,

first, this themes to be a problem with the Firebird-Server, but I have it using IBDAC. If I use isql, I do not have the problem.

I create a exception in employee.fdb:

Code: Select all

CREATE EXCEPTION EX_2 '@1@2'; 
Now I raise it:

Code: Select all

execute block 
as 
begin 
  exception EX_2 using ('a', 'b'); 
end 
with Ibdac (6.2.9) i get this message:
EX_2
ab
<Missing arg #1 - possibly status vector overflow>

in isql i get:
-EX_2
-ab
-At block line: 1, col: 24


what is the difference, why I get <Missing arg #1 - possibly status vector overflow>, what does ibdac different to isql?
If I set a 3rd Param, I don't get the 'Missing arg'-Extension.

Code: Select all

execute block 
as 
begin 
  exception EX_2 using ('a', 'b', 'c'); 
end 
Regards, Jan

Jank
Posts: 32
Joined: Tue 11 May 2010 11:57

Re: Raising FB-Exception with 2 Parameters: <Missing arg #1 - possibly status vector overflow>

Post by Jank » Fri 02 Aug 2019 11:01

The Firebird-Crew said something to the problem:

http://tracker.firebirdsql.org/browse/CORE-6113


Are there Any Plans to switch from the isc-Api to the new OO-Api?

Regards, Jan

MaximG
Devart Team
Posts: 1442
Joined: Mon 06 Jul 2015 11:34

Re: Raising FB-Exception with 2 Parameters: <Missing arg #1 - possibly status vector overflow>

Post by MaximG » Mon 05 Aug 2019 09:13

Currently we're not intending to transition from isc-Api to to the new OO-Api. You can leave your feedback or suggestions on our UserVoice page (https://devart.uservoice.com/forums/104 ... y_id=24461). If your suggestion gets enough votes, we'll implement it.

frickler
Posts: 15
Joined: Wed 04 Apr 2018 08:30

Re: Raising FB-Exception with 2 Parameters: <Missing arg #1 - possibly status vector overflow>

Post by frickler » Tue 13 Aug 2019 11:54

The problem is that IBDAC has to connect to Interbase and Firebird. So they have to use an API which work with both. Maybe some day in the future there will be a "FBDAC" for Firebird only.

Post Reply