Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Variable/argument name could be absent or be wrong in error messages when more than 256 variables are used [CORE3055] #3435

Closed
firebird-issue-importer opened this issue Jun 17, 2010 · 7 comments

Comments

@firebird-issue-importer

Submitted by: @asfernandes

Is related to QA552

Test case:

-------------
create domain dn integer not null!

execute block
as
declare variable a integer;
declare variable b integer;
declare variable c integer;
declare variable d integer;
declare variable e integer;
declare variable f integer;
declare variable g integer;
declare variable h integer;
declare variable i integer;
declare variable j integer;
declare variable a1 integer;
declare variable b1 integer;
declare variable c1 integer;
declare variable d1 integer;
declare variable e1 integer;
declare variable f1 integer;
declare variable g1 integer;
declare variable h1 integer;
declare variable i1 integer;
declare variable j1 integer;
declare variable a2 integer;
declare variable b2 integer;
declare variable c2 integer;
declare variable d2 integer;
declare variable e2 integer;
declare variable f2 integer;
declare variable g2 integer;
declare variable h2 integer;
declare variable i2 integer;
declare variable j2 integer;
declare variable a3 integer;
declare variable b3 integer;
declare variable c3 integer;
declare variable d3 integer;
declare variable e3 integer;
declare variable f3 integer;
declare variable g3 integer;
declare variable h3 integer;
declare variable i3 integer;
declare variable j3 integer;
declare variable a10 integer;
declare variable b10 integer;
declare variable c10 integer;
declare variable d10 integer;
declare variable e10 integer;
declare variable f10 integer;
declare variable g10 integer;
declare variable h10 integer;
declare variable i10 integer;
declare variable j10 integer;
declare variable a20 integer;
declare variable b20 integer;
declare variable c20 integer;
declare variable d20 integer;
declare variable e20 integer;
declare variable f20 integer;
declare variable g20 integer;
declare variable h20 integer;
declare variable i20 integer;
declare variable j20 integer;
declare variable a30 integer;
declare variable b30 integer;
declare variable c30 integer;
declare variable d30 integer;
declare variable e30 integer;
declare variable f30 integer;
declare variable g30 integer;
declare variable h30 integer;
declare variable i30 integer;
declare variable j30 integer;
declare variable a11 integer;
declare variable b11 integer;
declare variable c11 integer;
declare variable d11 integer;
declare variable e11 integer;
declare variable f11 integer;
declare variable g11 integer;
declare variable h11 integer;
declare variable i11 integer;
declare variable j11 integer;
declare variable a21 integer;
declare variable b21 integer;
declare variable c21 integer;
declare variable d21 integer;
declare variable e21 integer;
declare variable f21 integer;
declare variable g21 integer;
declare variable h21 integer;
declare variable i21 integer;
declare variable j21 integer;
declare variable a31 integer;
declare variable b31 integer;
declare variable c31 integer;
declare variable d31 integer;
declare variable e31 integer;
declare variable f31 integer;
declare variable g31 integer;
declare variable h31 integer;
declare variable i31 integer;
declare variable j31 integer;
declare variable a12 integer;
declare variable b12 integer;
declare variable c12 integer;
declare variable d12 integer;
declare variable e12 integer;
declare variable f12 integer;
declare variable g12 integer;
declare variable h12 integer;
declare variable i12 integer;
declare variable j12 integer;
declare variable a22 integer;
declare variable b22 integer;
declare variable c22 integer;
declare variable d22 integer;
declare variable e22 integer;
declare variable f22 integer;
declare variable g22 integer;
declare variable h22 integer;
declare variable i22 integer;
declare variable j22 integer;
declare variable a32 integer;
declare variable b32 integer;
declare variable c32 integer;
declare variable d32 integer;
declare variable e32 integer;
declare variable f32 integer;
declare variable g32 integer;
declare variable h32 integer;
declare variable i32 integer;
declare variable j32 integer;
declare variable a100 integer;
declare variable b100 integer;
declare variable c100 integer;
declare variable d100 integer;
declare variable e100 integer;
declare variable f100 integer;
declare variable g100 integer;
declare variable h100 integer;
declare variable i100 integer;
declare variable j100 integer;
declare variable a200 integer;
declare variable b200 integer;
declare variable c200 integer;
declare variable d200 integer;
declare variable e200 integer;
declare variable f200 integer;
declare variable g200 integer;
declare variable h200 integer;
declare variable i200 integer;
declare variable j200 integer;
declare variable a300 integer;
declare variable b300 integer;
declare variable c300 integer;
declare variable d300 integer;
declare variable e300 integer;
declare variable f300 integer;
declare variable g300 integer;
declare variable h300 integer;
declare variable i300 integer;
declare variable j300 integer;
declare variable a110 integer;
declare variable b110 integer;
declare variable c110 integer;
declare variable d110 integer;
declare variable e110 integer;
declare variable f110 integer;
declare variable g110 integer;
declare variable h110 integer;
declare variable i110 integer;
declare variable j110 integer;
declare variable a210 integer;
declare variable b210 integer;
declare variable c210 integer;
declare variable d210 integer;
declare variable e210 integer;
declare variable f210 integer;
declare variable g210 integer;
declare variable h210 integer;
declare variable i210 integer;
declare variable j210 integer;
declare variable a310 integer;
declare variable b310 integer;
declare variable c310 integer;
declare variable d310 integer;
declare variable e310 integer;
declare variable f310 integer;
declare variable g310 integer;
declare variable h310 integer;
declare variable i310 integer;
declare variable j310 integer;
declare variable a120 integer;
declare variable b120 integer;
declare variable c120 integer;
declare variable d120 integer;
declare variable e120 integer;
declare variable f120 integer;
declare variable g120 integer;
declare variable h120 integer;
declare variable i120 integer;
declare variable j120 integer;
declare variable a220 integer;
declare variable b220 integer;
declare variable c220 integer;
declare variable d220 integer;
declare variable e220 integer;
declare variable f220 integer;
declare variable g220 integer;
declare variable h220 integer;
declare variable i220 integer;
declare variable j220 integer;
declare variable a320 integer;
declare variable b320 integer;
declare variable c320 integer;
declare variable d320 integer;
declare variable e320 integer;
declare variable f320 integer;
declare variable g320 integer;
declare variable h320 integer;
declare variable i320 integer;
declare variable j320 integer;
declare variable a1000 integer;
declare variable b1000 integer;
declare variable c1000 integer;
declare variable d1000 integer;
declare variable e1000 integer;
declare variable f1000 integer;
declare variable g1000 integer;
declare variable h1000 integer;
declare variable i1000 integer;
declare variable j1000 integer;
declare variable a2000 integer;
declare variable b2000 integer;
declare variable c2000 integer;
declare variable d2000 integer;
declare variable e2000 integer;
declare variable f2000 integer;
declare variable g2000 integer;
declare variable h2000 integer;
declare variable i2000 integer;
declare variable j2000 integer;
declare variable a3000 integer;
declare variable b3000 integer;
declare variable c3000 integer;
declare variable d3000 integer;
declare variable e3000 integer;
declare variable f3000 integer;
declare variable g3000 integer;
declare variable h3000 integer;
declare variable i3000 integer;
declare variable j3000 integer;
declare variable a1100 integer;
declare variable b1100 integer;
declare variable c1100 integer;
declare variable d1100 integer;
declare variable e1100 integer;
declare variable f1100 integer;
declare variable g1100 integer;
declare variable h1100 integer;
declare variable i1100 integer;
declare variable j1100 integer;
declare variable a2100 integer;
declare variable b2100 integer;
declare variable c2100 integer;
declare variable d2100 integer;
declare variable e2100 integer;
declare variable f2100 integer;
declare variable g2100 integer;
declare variable h2100 integer;
declare variable i2100 integer;
declare variable j2100 integer;
declare variable a3100 integer;
declare variable b3100 integer;
declare variable c3100 integer;
declare variable d3100 integer;
declare variable e3100 integer;
declare variable f3100 integer;
declare variable g3100 integer;
declare variable h3100 integer;
declare variable i3100 integer;
declare variable j3100 integer;
declare variable a1200 integer;
declare variable b1200 integer;
declare variable c1200 integer;
declare variable d1200 integer;
declare variable e1200 integer;
declare variable f1200 integer;
declare variable g1200 integer;
declare variable h1200 integer;
declare variable i1200 integer;
declare variable j1200 integer;
declare variable a2200 integer;
declare variable b2200 integer;
declare variable c2200 integer;
declare variable d2200 integer;
declare variable e2200 integer;
declare variable f2200 integer;
declare variable g2200 integer;
declare variable h2200 integer;
declare variable i2200 integer;
declare variable j2200 integer;
declare variable a3200 integer;
declare variable b3200 integer;
declare variable c3200 integer;
declare variable d3200 integer;
declare variable e3200 integer;
declare variable f3200 integer;
declare variable g3200 integer;
declare variable h3200 integer;
declare variable i3200 integer;
declare variable j3200 dn;
begin
j3200 = null;
end!
-------------

Wrong error:
Statement failed, SQLSTATE = 42000
validation error for variable number 310, value "*** null ***"

Commits: d2161dc

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Jun 17, 2010

Modified by: @asfernandes

assignee: Adriano dos Santos Fernandes [ asfernandes ]

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Jun 17, 2010

Modified by: @asfernandes

summary: Variable/argument name could be absent or be wrong when more than 256 variables are used => Variable/argument name could be absent or be wrong in error messages when more than 256 variables are used

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Jun 17, 2010

Modified by: @asfernandes

status: Open [ 1 ] => Resolved [ 5 ]

resolution: Fixed [ 1 ]

Fix Version: 3.0 Alpha 1 [ 10331 ]

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Mar 29, 2014

Modified by: @pcisar

Link: This issue is related to QA552 [ QA552 ]

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented May 28, 2015

Modified by: @pavel-zotov

status: Resolved [ 5 ] => Resolved [ 5 ]

QA Status: Done successfully

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Sep 23, 2015

Commented by: @pcisar

Test created.

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Sep 23, 2015

Modified by: @pcisar

status: Resolved [ 5 ] => Closed [ 6 ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment