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
Metadata export with isql (option -ex) does not export functions properly [CORE4122] #4450
Comments
Commented by: Sean Leyne (seanleyne) Thomas, unfortunately, the subject does not "say it all". The problem, as you have described it, seems to be limit to the export of functions which are part of packages... A sample of the output would be helpfull. |
Modified by: Thomas Beckmann (thbeckmann)description: Summary says it all: => Functions are exported as if they were UDFs. summary: Metadata export with isql (option -ex) does not functions properly => Metadata export with isql (option -ex) does not export functions properly |
Commented by: Thomas Beckmann (thbeckmann) Hi Sean, no, actually, it is not limited to functions in packages - as I wrote, all functions are exported as if they were UDFs. Those belonging to a package are exported with the correct package syntax once more. I'll put together an example tonight. |
Commented by: Thomas Beckmann (thbeckmann) Attached Create script creates 2 functions, one inside, one outside a package, Dumping the besides that empty database via "isql -ex" leads to MetaDump script, containing 2 (wrong) UDF declarations of the functions and the proper declaration of the package. |
Modified by: Thomas Beckmann (thbeckmann)Attachment: Test_Create.sql [ 12337 ] Attachment: Test_MetaDump.sql [ 12338 ] |
Commented by: Frank Schlottmann-Goedde (fsg) I believe this is the same problem as described in CORE3963 |
Modified by: @dyemanovassignee: Dmitry Yemanov [ dimitr ] |
Modified by: @dyemanovstatus: Open [ 1 ] => Resolved [ 5 ] resolution: Fixed [ 1 ] Fix Version: 3.0 Alpha 1 [ 10331 ] |
Modified by: @pcisarstatus: Resolved [ 5 ] => Closed [ 6 ] |
Submitted by: Thomas Beckmann (thbeckmann)
Attachments:
Test_Create.sql
Test_MetaDump.sql
Functions are exported as if they were UDFs.
Functions belonging to packages are actually exported twice, properly with the package and incorrectly.
Commits: b94f613 FirebirdSQL/fbt-repository@fb74f0c
The text was updated successfully, but these errors were encountered: