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

internal Firebird consistency check in query with grouping by subquery+stored procedure+aggregate [CORE3694] #4042

Closed
firebird-automations opened this issue Dec 8, 2011 · 6 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: Alex Bekhtin (afgm)

Is related to QA569

create or alter procedure DUMMY_PROC (
VAL integer)
returns (
RESULT integer)
AS
begin
RESULT = VAL;
suspend;
end

-- query is wrong (use an aggregate function in a GROUP BY clause)
select
(select result from dummy_proc(sum(t.rdb$type)) ) as IS_CORRECT,
COUNT(*) from rdb$types t
group by IS_CORRECT

Commits: d3b75f3 b0dfb22 FirebirdSQL/fbt-repository@cca97fa

====== Test Details ======

2.5.1, 2.5.2 - crashes
2.5.3 and above (up to WI-V2.5.5.26916) produces "(EVL_expr: invalid operation (232), file: evl.cpp line: 1219)"

@firebird-automations
Copy link
Collaborator Author

Modified by: @asfernandes

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

resolution: Fixed [ 1 ]

Fix Version: 3.0 Alpha 1 [ 10331 ]

assignee: Adriano dos Santos Fernandes [ asfernandes ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

Link: This issue is related to QA569 [ QA569 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

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

QA Status: Done successfully

Test Details: As of 2.5, this error exists at least up to WI-V2.5.5.26861 (27-apr-2015) - not only in 2.5.1 as it is issued in the ticket.

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

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

Test Details: As of 2.5, this error exists at least up to WI-V2.5.5.26861 (27-apr-2015) - not only in 2.5.1 as it is issued in the ticket. => 2.5.1, 2.5.2 - crashes
2.5.3 and above (up to WI-V2.5.5.26916) produces "(EVL_expr: invalid operation (232), file: evl.cpp line: 1219)"

@firebird-automations
Copy link
Collaborator Author

Commented by: @pcisar

Test created.

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

status: Resolved [ 5 ] => Closed [ 6 ]

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