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

Altering domains name drops dependencies using the domain [CORE1986] #2424

Closed
firebird-automations opened this issue Jul 10, 2008 · 7 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: DINC (dinc)

Is related to QA352

For example, we have a database:
CREATE DOMAIN D_SOME AS INTEGER;

CREATE OR ALTER PROCEDURE SP_SOME(
SOME_PARAM D_SOME)
AS
BEGIN
END;

So if we try to change domains name by:
ALTER DOMAIN D_SOME TO D_OTHER;

Then the first execute/commit gives (bugs origin?):
Cannot commit transaction:
table is not defined.
domain D_SOME is not defined.

But the second execute/call succeeds.
After that we have no domain dependency for procedure SP_SOME, also error if try to execute procedure.

Also we can alter domain to its original name - no dependency, but no errors for execute procedure.

Commits: 1442725

@firebird-automations
Copy link
Collaborator Author

Modified by: @asfernandes

assignee: Adriano dos Santos Fernandes [ asfernandes ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @asfernandes

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

resolution: Fixed [ 1 ]

Fix Version: 2.5 Beta 1 [ 10251 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

Link: This issue is related to QA352 [ QA352 ]

@firebird-automations
Copy link
Collaborator Author

Commented by: @pcisar

QA test added.

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

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

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

QA Status: No test

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

QA Status: No test => Done successfully

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