1
0
mirror of https://github.com/sqlite/sqlite.git synced 2026-10-26 21:59:27 +03:00
Files
drh 396afe6f6a Continue to back away from the LEFT JOIN optimization of check-in [41c27bc0ff1d3135]
by disallowing query flattening if the outer query is DISTINCT.  Without this fix,
if an index scan is run on the table within the view on the right-hand side of the
LEFT JOIN, stale result registers might be accessed yielding incorrect results,
and/or an OP_IfNullRow opcode might be invoked on the un-opened table, resulting
in a NULL-pointer dereference.  This problem was found by the Yongheng and Rui fuzzer.

FossilOrigin-Name: 862974312edf00e9d1068115d1a39b7235b7db68b6d86b81d38a12f025a4748e
2019-12-18 20:51:58 +00:00
..
2017-10-04 18:26:44 +00:00
…
…
2017-10-04 18:26:44 +00:00
…
…
…
…
…
…
…
…
2018-04-28 04:10:55 +00:00
…
…
2018-05-08 12:49:53 +00:00
…
…
2016-07-27 19:20:58 +00:00
…
…
…
…
…
…
…
…
2019-12-06 01:23:38 +00:00
2018-04-21 14:11:18 +00:00
2018-04-21 14:11:18 +00:00
2017-08-10 19:10:23 +00:00
…
…
…
…
…
…