-
-
Notifications
You must be signed in to change notification settings - Fork 224
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
<Missing arg #1 - possibly status vector overflow>. [CORE6113] #6362
Comments
Modified by: Jan Kohlmeyer (colaflasche)description: I have 2 exceptions in a empty DB: If I do this, I get the exception and the message '<Missing arg #1 - possibly status vector overflow>' if i do one of this I don'd get the extension '<Missing arg #1 - possibly status vector overflow>' in the message: execute block => I have 3 exceptions in a empty DB: If I do this, I get the exception and the message '<Missing arg #1 - possibly status vector overflow>' if i do one of this I don'd get the extension '<Missing arg #1 - possibly status vector overflow>' in the message: execute block execute block Very crazy: |
Modified by: Jan Kohlmeyer (colaflasche)description: I have 3 exceptions in a empty DB: If I do this, I get the exception and the message '<Missing arg #1 - possibly status vector overflow>' if i do one of this I don'd get the extension '<Missing arg #1 - possibly status vector overflow>' in the message: execute block execute block Very crazy: => I have 2 exceptions in a empty DB: If I do this, I get the exception and the message '<Missing arg #1 - possibly status vector overflow>' if i do one of this I don'd get the extension '<Missing arg #1 - possibly status vector overflow>' in the message: execute block execute block Very crazy: |
Commented by: @AlexPeshkoff Can not reproduce: $ ./isql -z employee -user sysdba That's current 3.0.5 but I believe there were no related changes. |
Commented by: Jan Kohlmeyer (colaflasche) Okay, with isql I also can't reproduce it. I've only by using IB-Expert or IBDAC DataAccess-Components with my Delphi. |
Commented by: @AlexPeshkoff That confirms that this is due to restriction of ISC API. Status vector length is limited by 20 elements (each error message and each argument to it means 2 elements). ISQL is using new API which can work with arbitrary length status vector. Ideal solution is use of new OO API in IB-Expert / IBDAC but I understand that it's not too fast deal. We can think about something like API call setting higher status vector length but status vector is created by caller (in your case IB-Expert & IBDAC) and therefore you will anyway need new version of routines to make them work with long status vectors. |
Run into it with Flamerobin. Strange thing is that adding third parameter into using, when exception accepts only 2 then there is no "Missing arg #1 - possibly status vector overflow" |
Extra parameter is not missing parameter thus no error. IMHO this is a correct behavior. |
It is just strange, that adding extra parameter silences message... Although I only now noticed, that it was included already in original submission.... That |
Interesting... This |
Submitted by: Jan Kohlmeyer (colaflasche)
I have 2 exceptions in a empty DB:
CREATE EXCEPTION EX_1 '@1';
CREATE EXCEPTION EX_2 '@1@2';
If I do this, I get the exception and the message '<Missing arg #1 - possibly status vector overflow>'
execute block
as
begin
exception EX_2 using ('a', 'b');
end
if i do one of this I don'd get the extension '<Missing arg #1 - possibly status vector overflow>' in the message:
execute block
as
begin
exception EX_1 using ('a');
end
execute block
as
begin
exception EX_2 using ('a');
end
Very crazy:
execute block
as
begin
exception EX_2 using ('a', 'b', 'c'); -- One Agr more, but exception has only 2 args
end
The text was updated successfully, but these errors were encountered: