aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authordrh <>2025-07-06 01:19:09 +0000
committerdrh <>2025-07-06 01:19:09 +0000
commitc701d173668b07e743e7af8132842b7e6d8c1922 (patch)
tree087abb66c5ba91d9258b872e28395e342926f764 /test
parent8bc112e3e453a9e574a800e7edab3afecb064449 (diff)
downloadsqlite-c701d173668b07e743e7af8132842b7e6d8c1922.tar.gz
sqlite-c701d173668b07e743e7af8132842b7e6d8c1922.zip
Improvements to the EXPLAIN QUERY PLAN output for EXISTS-to-JOIN.
FossilOrigin-Name: 6b1ecbaa2ee405be040901dceac45d027d35c313622748ba4dbbd404e297a7fa
Diffstat (limited to 'test')
-rw-r--r--test/eqp.test2
-rw-r--r--test/existsexpr.test4
2 files changed, 3 insertions, 3 deletions
diff --git a/test/eqp.test b/test/eqp.test
index b7e7acd8a..147b5ceaf 100644
--- a/test/eqp.test
+++ b/test/eqp.test
@@ -338,7 +338,7 @@ det 3.3.3 {
} {
QUERY PLAN
|--SCAN t1
- `--SINGLETON t2
+ `--SCAN t2 EXISTS
}
#-------------------------------------------------------------------------
diff --git a/test/existsexpr.test b/test/existsexpr.test
index c28955b67..2bf2e8223 100644
--- a/test/existsexpr.test
+++ b/test/existsexpr.test
@@ -94,13 +94,13 @@ do_execsql_test 2.4.0 {
do_eqp_test 2.4.1 {
SELECT count(*) FROM t1 WHERE EXISTS (SELECT 1 FROM t2 WHERE c=a);
-} {SCAN t1*SINGLETON t2}
+} {SCAN t1*t2 EXISTS}
do_execsql_test 2.4.2 {
ANALYZE;
}
do_eqp_test 2.4.3 {
SELECT count(*) FROM t1 WHERE EXISTS (SELECT 1 FROM t2 WHERE c=a);
-} {SCAN t1*SINGLETON t2}
+} {SCAN t1*t2 EXISTS}
do_execsql_test 2.4.4 {
SELECT count(*) FROM t1 WHERE EXISTS (SELECT 1 FROM t2 WHERE c=a);
} {100}