Issue Details (XML | Word | Printable)

Key: CORE-2397
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Vlad Khorsun
Reporter: Vlad Khorsun
Votes: 0
Watchers: 0
Operations

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

If you drop two different indexes within the same transaction, you get database corruption

Created: 30/Mar/09 03:15 AM   Updated: 16/Nov/09 05:29 PM
Return to search
Component/s: Engine
Affects Version/s: 2.1.0, 2.5 Alpha 1, 2.1.1, 2.1.2, 2.5 Beta 1
Fix Version/s: 2.5 Beta 2, 2.1.3

Time Tracking:
Not Specified

Issue Links:
Relate
 

Planning Status: Unspecified


 Description  « Hide
Test case by Steve Summers :

create table test(id int, title varchar(50));

commit;

create index test1 on test computed by (id +1);

commit; // There is not an issue creating two computed indexes in the same transaction, so this commit is optional.

create index test2 on test computed by (id +2);

commit;

drop index test1;

// If you add a commit here, everything is fine.

drop index test2;

commit;

insert into test values(1,'test'); -- Error, file handle is invalid.



 All   Comments   Work Log   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
The cvs commits can not be displayed for repository Firebird at the moment since the log has not yet been parsed. The log will be parsed the next time the VcsService runs. If you have administrators privileges you can hasten the next time the service will run in the service section of the Administration pages.