Issue Details (XML | Word | Printable)

Key: CORE-1907
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Adriano dos Santos Fernandes
Reporter: Adriano dos Santos Fernandes
Votes: 0
Watchers: 0

If you were logged in you would be able to see more operations.
Firebird Core

Dropping and adding a domain constraint in the same transaction leaves incorrect dependencies

Created: 19/May/08 11:24 AM   Updated: 19/Jan/16 06:05 AM
Component/s: Engine
Affects Version/s: 2.5 Initial, 2.1.0
Fix Version/s: 2.5 Alpha 1

Issue Links:

QA Status: Done successfully

 Description  « Hide
Teste case:

create database 't.fdb';

create table t1 (n integer);
create table t2 (n integer);

create domain d1 integer check (value = (select n from t1));

set autoddl off;

alter domain d1 drop constraint;
alter domain d1 add constraint check (value = (select n from t2));;

drop table t1; -- cannot drop - there are dependencies

 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Pavel Cisar added a comment - 21/Apr/11 09:46 AM
QA test added.