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

External routines DDL in Packages wrongly report error for termination with semi-colon [CORE4155] #4482

Closed
firebird-automations opened this issue Aug 2, 2013 · 5 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: @asfernandes

recreate package body pkg1
as
begin
function sum_args (
n1 integer,
n2 integer,
n3 integer
) returns integer
external name 'udrcpp_example!sum_args'
engine udr; -- error with the semi-colon and works without it
end

Commits: c3589a0 FirebirdSQL/fbt-repository@2d88e46

====== Test Details ======

No such error in 3.0.5 and 4.0.x, but one cannot check 3.05 functionality because there is no
%FB3x_HOME%\plugins\udr\udrcpp_example.dll in all 3.x snapshots since at least 3.0.0.
This leads to: "Statement failed, SQLSTATE = HY000 / UDR module not loaded"

@firebird-automations
Copy link
Collaborator Author

Modified by: @asfernandes

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

resolution: Fixed [ 1 ]

Fix Version: 3.0 Alpha 2 [ 10560 ]

assignee: Adriano dos Santos Fernandes [ asfernandes ]

@firebird-automations
Copy link
Collaborator Author

Modified by: Sean Leyne (seanleyne)

summary: External routines in packages wrong removed the necessity of termination with a semi-colon => External routines DDL in Packages wrongly report error for termination with semi-colon

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

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

QA Status: No test

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

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

QA Status: No test => Done with caveats

Test Details: No such error in 3.0.5 and 4.0.x, but one cannot check 3.05 functionality because there is no
%FB3x_HOME%\plugins\udr\udrcpp_example.dll in all 3.x snapshots since at least 3.0.0.
This leads to: "Statement failed, SQLSTATE = HY000 / UDR module not loaded"

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

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

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

No branches or pull requests

2 participants