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:
@ -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
|
||||
|
Reference in New Issue
Block a user