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

If you drop two different indexes within the same transaction, you get database corruption [CORE2397] #2816

Closed
firebird-automations opened this issue Mar 30, 2009 · 9 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: @hvlad

Is related to QA234

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.

Commits: 00b3625 062a1a2

@firebird-automations
Copy link
Collaborator Author

Modified by: @hvlad

assignee: Vlad Khorsun [ hvlad ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @hvlad

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

resolution: Fixed [ 1 ]

Fix Version: 2.5 RC1 [ 10300 ]

Fix Version: 2.1.3 [ 10302 ]

@firebird-automations
Copy link
Collaborator Author

Commented by: Joel da Rosa (webjoel)

my test not find problems.

use a example in tracker with: windows xp sp2, firebird 2.1.1 - ibexpert.

and now?

@firebird-automations
Copy link
Collaborator Author

Commented by: @hvlad

FB 2.1.1 give me :

Unsuccessful execution caused by a system error that precludes successful execution of subsequent statements.
internal Firebird consistency check (invalid SEND request (167), file: exe.cpp line: 643).

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

Link: This issue is related to QA234 [ QA234 ]

@firebird-automations
Copy link
Collaborator Author

Commented by: @pmakowski

QA test made

@firebird-automations
Copy link
Collaborator Author

Modified by: @pmakowski

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