mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-01 06:27:03 +03:00
Refactor the SrcItem object to move fields associated with subqueries out
into a separate object named Subquery. This reduces the size of the SrcItem object by about 1/3rd and provides improved performance. FossilOrigin-Name: 484bcd75bc95491d8540c791c1c4d40d996cb465839564662e14f98739699bf1
This commit is contained in:
@ -156,6 +156,16 @@ do_execsql_test 1.15 {
|
||||
SELECT * FROM t4;
|
||||
} {4 5}
|
||||
|
||||
do_execsql_test 1.15.2 {
|
||||
WITH
|
||||
t4(x) AS (
|
||||
VALUES(4)
|
||||
UNION ALL
|
||||
SELECT x+1 FROM (SELECT * FROM main.t4) WHERE x<10
|
||||
)
|
||||
SELECT * FROM t4;
|
||||
} {4 5}
|
||||
|
||||
do_catchsql_test 1.16 {
|
||||
WITH
|
||||
t4(x) AS (
|
||||
|
Reference in New Issue
Block a user