1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-30 19:03:16 +03:00

Ephemeral tables used to hold manifested views may not be unordered since

they might be subject to an ordered comparison if they are part of a join.

FossilOrigin-Name: 3ef6a3153267d5328202fea24fd29ff4d5409295
This commit is contained in:
drh
2016-02-26 04:13:39 +00:00
parent c9eaeef1fe
commit 26bcc7cf40
5 changed files with 23 additions and 11 deletions

View File

@ -94,5 +94,18 @@ do_execsql_test misc8-2.1 {
0 10 {} 10 {} {}
}
# 2016-02-26: An assertion fault found by the libFuzzer project
#
do_execsql_test misc8-3.0 {
SELECT *
FROM
(
(SELECT 0 AS i) AS x1,
(SELECT 1) AS x2
) AS x3,
(SELECT 6 AS j UNION ALL SELECT 7) AS x4
WHERE i<rowid
ORDER BY 1;
} {0 1 6 0 1 7}
finish_test