mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-30 19:03:16 +03:00
Further to [46639f682975dac6], the parameters of a table valued function that
is on the left side of a RIGHT JOIN do not need to be in the ON clause. Add new test cases and tags to associated test cases with the code. FossilOrigin-Name: 18ee689de3d1ae43b05ca52e0b62c49442ebf68a88814a7c679e8856250a4b0d
This commit is contained in:
@ -159,6 +159,7 @@ do_catchsql_test join8-5000 {
|
||||
} {0 {- -}}
|
||||
|
||||
# 2022-04-29 dbsqlfuzz 19f1102a70cf966ab249de56d944fc20dbebcfcf
|
||||
# Verification of testtag-20230227b and testtag-20230227c
|
||||
#
|
||||
reset_db
|
||||
do_execsql_test join8-6000 {
|
||||
@ -181,6 +182,16 @@ do_execsql_test join8-6020 {
|
||||
SELECT value, t1.* FROM json_each('17') NATURAL RIGHT JOIN t1
|
||||
WHERE (a,b) IN (SELECT rowid, b FROM t1);
|
||||
} {17 1 2}
|
||||
do_execsql_test join8-6021 {
|
||||
SELECT value, t1.* FROM json_each('null') NATURAL RIGHT JOIN t1
|
||||
WHERE (a,b) IN (SELECT rowid, b FROM t1);
|
||||
} {{} 1 2}
|
||||
do_execsql_test join8-6022 {
|
||||
CREATE TABLE a(key TEXT);
|
||||
INSERT INTO a(key) VALUES('a'),('b');
|
||||
SELECT quote(a.key), b.value
|
||||
FROM a RIGHT JOIN json_each('["a","c"]') AS b ON a.key=b.value;
|
||||
} {'a' a NULL c}
|
||||
|
||||
# Bloom filter usage by RIGHT and FULL JOIN
|
||||
#
|
||||
|
Reference in New Issue
Block a user