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

New test case demonstrating the ability to invoke OP_NullRow on a cursor

that has never been opened.

FossilOrigin-Name: d173edc242f295f5812a58cad184695881d9b1b160cd5b25e303e22848e90ce1
This commit is contained in:
drh
2022-04-18 18:01:38 +00:00
parent 25f2ce6e71
commit a20922cb20
3 changed files with 22 additions and 8 deletions

View File

@ -364,5 +364,19 @@ foreach {id schema} {
8 - dave - -
9 - - - 999
}
}
# Verified by PG-14 using case 1
do_execsql_test join9-$id.800 {
WITH t7(id,a) AS MATERIALIZED (SELECT * FROM t4 WHERE false)
SELECT *
FROM t7
JOIN t7 AS t7b USING(id)
FULL JOIN t3 USING(id);
} {
2 - - two
3 - - three
6 - - six
7 - - seven
}
}
finish_test