Engine crashes when use SUM()OVER() in recursive query
------------------------------------------------------
Key: CORE-4322
URL: http://tracker.firebirdsql.org/browse/CORE-4322
Project: Firebird Core
Issue Type: Bug
Reporter: Pavel Zotov
Attachments: gdb-firebird.140121_234028.1.zip
LI-T3.0.0.30813
SQL> with recursive r as(select 0 i,count(*)over() c from rdb$database union
all select r.i+1,sum(i)over() from r where r.i<10) select * from r;
Select Expression
-> Recursion
-> Materialize
-> Window
-> Record Buffer
-> Table "R RDB$DATABASE" Full Scan
-> Materialize
-> Filter
I C
============ =====================
Statement failed, SQLSTATE = 08006
Error reading data from the connection.
Coredump see in attach.
--
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
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebird-devel