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

ALTER DOMAIN with dependencies may leave a transaction handle in inconsistent state causing segmentation faults [CORE2264] #2690

Closed
firebird-automations opened this issue Jan 3, 2009 · 6 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: @asfernandes

Is related to QA380

Error caused by the ALTER DOMAIN is subject to review, but after these sequence of commands the transaction is "partially committed". Its handle is set to NULL, but the function returns an error. Because the error, it's not cleared on the y-valve, so reusing it make it enters in the engine with a NULL transaction.

create domain d integer!
create procedure p1 as
declare v d;
begin
v = v + v;
end!
commit!
show procedure!
alter domain d type varchar(11)!
alter domain d type varchar(11)! -- segmentation fault here

Commits: 8b6661a fbac6e7

@firebird-automations
Copy link
Collaborator Author

Modified by: @asfernandes

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

resolution: Fixed [ 1 ]

Fix Version: 2.5 Beta 1 [ 10251 ]

assignee: Adriano dos Santos Fernandes [ asfernandes ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

Link: This issue is related to QA380 [ QA380 ]

@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