diff options
author | drh <> | 2025-04-30 12:48:20 +0000 |
---|---|---|
committer | drh <> | 2025-04-30 12:48:20 +0000 |
commit | 88ed1806a4dae310ea08a9c2e6c5631e87c4fabb (patch) | |
tree | 4f263ccd3f641a744888dc0792df12d211da683b /test | |
parent | a20c09c477da10497459093cd6fc92f097378d69 (diff) | |
download | sqlite-88ed1806a4dae310ea08a9c2e6c5631e87c4fabb.tar.gz sqlite-88ed1806a4dae310ea08a9c2e6c5631e87c4fabb.zip |
Fix an issue in Bloom filters on RHS subsqueries to IN operators.
See [forum:/forumpost/792a09cb3df9e69f|forum post 792a09cb3d] for
a description of the problem. Also improve comments related
to [baa83b460c677c21] which was origin of the problem.
FossilOrigin-Name: cdef486e212fe4b26605065d9cff08f608cb80df48ee64e4be63637769bdfacc
Diffstat (limited to 'test')
-rw-r--r-- | test/bloom1.test | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/test/bloom1.test b/test/bloom1.test index f8efcc184..09553c3b9 100644 --- a/test/bloom1.test +++ b/test/bloom1.test @@ -224,6 +224,18 @@ do_execsql_test 5.3 { SELECT 0 as c_0 ); } {0} - + +# 2025-04-30 https://sqlite.org/forum/forumpost/792a09cb3df9e69f +# A continuation of the above. +# +do_execsql_test 6.1 { + DROP TABLE IF EXISTS t1; + CREATE TABLE t1(a); + SELECT 111 IN ( + SELECT 222 FROM (SELECT 333 ORDER BY 1) + UNION ALL + SELECT 444 FROM (SELECT 555 FROM t1 ORDER BY 1) + ); +} 0 finish_test |