internal Firebird consistency check in query with grouping by subquery+stored 
procedure+aggregate 
--------------------------------------------------------------------------------------------------

                 Key: CORE-3694
                 URL: http://tracker.firebirdsql.org/browse/CORE-3694
             Project: Firebird Core
          Issue Type: Bug
          Components: Engine
    Affects Versions: 2.5.1
            Reporter: Alex Bekhtin


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



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of 
discussion for anyone considering optimizing the pricing and packaging model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to