(text/x-fossil-wiki)
Henry Liu of Shenzhen Ankki Technologies Co.Ltd. sends in the following SQL
snippet that causes a segfault while preparing.
<blockquuote><verbatim>
CREATE TABLE a(b, c);
SELECT c FROM a GROUP BY c
HAVING(SELECT(sum(b) OVER(ORDER BY b),
sum(b) OVER(PARTITION BY min(DISTINCT c), c ORDER BY b)));
</verbatim></blockquote>
This query has caused problems ever since support for window functions
was added on 2018-06-30 (version 3.25.0). The problem expressed as an
assertion fault up until check-in [712e47714863a8ed] (2019-08-10) at which
point it began to segfault.
|