1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-29 08:01:23 +03:00

Fix a faulty assert() in the compound-SELECT code generator.

FossilOrigin-Name: 10715b05f2201a63dca317f99ce39d3ce182e182
This commit is contained in:
drh
2015-04-16 16:22:27 +00:00
parent 59ac655d02
commit a276e3fd4d
4 changed files with 13 additions and 9 deletions

View File

@ -118,6 +118,10 @@ do_test select4-1.3 {
}} msg]
lappend v $msg
} {1 {ORDER BY clause should come after UNION ALL not before}}
do_catchsql_test select4-1.4 {
SELECT (VALUES(0) INTERSECT SELECT(0) UNION SELECT(0) ORDER BY (0) UNION
SELECT 0 UNION SELECT 0 ORDER BY 1);
} {1 {ORDER BY clause should come after UNION not before}}
# Union operator
#