Navigation Menu

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

The new 2.5 feature to alter COMPUTED columns doesn't handle dependencies well [CORE2985] #3367

Closed
firebird-automations opened this issue May 2, 2010 · 6 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: @samofatov

Assigned to: @samofatov

Is related to QA439

create table test (id numeric, f1 varchar(20));
create table test1(id1 numeric, ff computed((select f1 from test where id=id1)));
commit;

alter table test1 alter ff computed(cast(null as varchar(20)));
drop table test;
commit;

Cannot commit transaction:
This operation is not defined for system tables.
unsuccessful metadata update.
cannot delete.
COLUMN http://TEST.ID.
there are 1 dependencies.

The similar sequence where altered procedure is the dependent works as expected.

Commits: d6f61ee 5b34865

@firebird-automations
Copy link
Collaborator Author

Modified by: @samofatov

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

resolution: Fixed [ 1 ]

Fix Version: 3.0 Alpha 1 [ 10331 ]

assignee: Nickolay Samofatov [ skidder ]

@firebird-automations
Copy link
Collaborator Author

Commented by: @asfernandes

Fix backported to 2.5.3 per Dmitry request.

@firebird-automations
Copy link
Collaborator Author

Modified by: @asfernandes

Fix Version: 2.5 RC3 [ 10381 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

Link: This issue is related to QA439 [ QA439 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pmakowski

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

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

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

QA Status: 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

1 participant