1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-08 14:02:16 +03:00

Fix a bug in the linked-list handling code added by commit [fd7316cd].

FossilOrigin-Name: 05080344dceafcfb670fbf01f7d69a1d713a54b6845f968a9cfe941fb53b13af
This commit is contained in:
dan
2019-07-22 17:28:43 +00:00
parent cda50737f4
commit e0ae3f69eb
4 changed files with 20 additions and 10 deletions

View File

@@ -121,6 +121,16 @@ do_catchsql_test 3.3 {
) OVER (ORDER BY a);
} {1 {near "OVER": syntax error}}
do_catchsql_test 3.4 {
SELECT y, y+1, y+2 FROM (
SELECT c IN (
SELECT min(a) OVER (),
(abs(row_number() OVER())+22)/19,
max(a) OVER () FROM t1
) AS y FROM t2
);
} {1 {sub-select returns 3 columns - expected 1}}
finish_test