1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-29 08:01:23 +03:00

Fix the query flattener to deal with a RIGHT JOIN corner case described

by [forum:/forumpost/323f86cc30|forum post 323f86cc30].

FossilOrigin-Name: 3f45007d544e5f787d5837b4d9f484ba473d69cdba83c229228e9c2f6b972b75
This commit is contained in:
drh
2022-06-07 13:09:58 +00:00
parent bb1369037b
commit 33b2cb9aec
4 changed files with 10 additions and 11 deletions

View File

@ -626,7 +626,6 @@ do_execsql_test join8-19010 {
SELECT * FROM t1 LEFT JOIN t2 ON true INNER JOIN t3 ON (b IS NOT NULL)=0;
}
if 0 {
# 2022-06-07
# https://sqlite.org/forum/forumpost/323f86cc30
reset_db
@ -657,6 +656,5 @@ do_execsql_test join8-20060 {
SELECT count(*)
FROM (SELECT 99 as "m" FROM t2 JOIN v0 ON z<>'' RIGHT JOIN t1 ON z<>'' ORDER BY z) AS "t3";
} {1}
}
finish_test