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
Current connection may be used by EXECUTE STATEMENT instead of creation of new attachment [CORE2729] #3124
Comments
Modified by: @hvladassignee: Vlad Khorsun [ hvlad ] |
Modified by: @hvladstatus: Open [ 1 ] => Resolved [ 5 ] resolution: Fixed [ 1 ] Fix Version: 2.5 RC1 [ 10362 ] Fix Version: 3.0 Alpha 1 [ 10331 ] |
Modified by: @pmakowskistatus: Resolved [ 5 ] => Closed [ 6 ] |
Commented by: @pavel-zotov Simple modification of this test: set list on;
end -- leads to crash of SuperClassic WI-T6.3.0.31698 The problem is in this statement:
=== |
Commented by: @hvlad If you really observe the crash - why do you post it here ? Create new ticket, please. |
Commented by: @pavel-zotov |
Modified by: @pavel-zotovstatus: Closed [ 6 ] => Closed [ 6 ] QA Status: Done successfully Test Details: Updated code: made STDOUT insensible to the IDs of attaches |
Submitted by: @hvlad
Is related to QA421
create user test password 'test';
commit;
execute block
returns (o_att_id int, o_user varchar(32))
as
begin
o_att_id = CURRENT_CONNECTION;
o_user = CURRENT_USER;
suspend;
-- should use current connection
execute statement 'select CURRENT_CONNECTION, CURRENT_USER from rdb$database'
into :o_att_id, :o_user;
suspend;
-- should use distinct connection
execute statement 'select CURRENT_CONNECTION, CURRENT_USER from rdb$database'
as user 'test' password 'test'
into :o_att_id, :o_user;
suspend;
end
All 3 rows returns the same values while 3rd row must not return the same values as 1st and 2nd.
Commits: 209767c b18ffff
====== Test Details ======
Updated code: made STDOUT insensible to the IDs of attaches
The text was updated successfully, but these errors were encountered: