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

Ensure that when a new cursor is opened by OP_OpenDup, any existing cursor

with the same id opened by a previous OP_OpenDup is closed first.

FossilOrigin-Name: 5c188361a91407805c0feb4bf6d3214522ce3e55013efcf63a4613ecd416bcbc
This commit is contained in:
dan
2019-01-01 18:00:17 +00:00
parent fff1dc8e05
commit 97c8cb3ed8
5 changed files with 23 additions and 9 deletions

View File

@ -665,4 +665,12 @@ do_execsql_test 15.1 {
) FROM t1;
} {a 3 b 3 c 3}
do_execsql_test 15.2 {
SELECT(
WITH c AS(
VALUES(1)
) SELECT '' FROM c,c
) x WHERE x+x;
} {}
finish_test