summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorAnssi Kääriäinen <akaariai@gmail.com>2012-08-21 18:43:08 +0300
committerAnssi Kääriäinen <akaariai@gmail.com>2012-08-21 21:23:57 +0300
commita193372753ad9d1d15ad5e2d6d06bbc07ca3f433 (patch)
tree2e0b3c6165a161c7b403c3e3bcb65fb538f31e59 /docs/ref
parentfd58d6c258058f8ac54e241b21b949bdbe50059b (diff)
Fixed #17886 -- Fixed join promotion in ORed nullable queries
The ORM generated a query with INNER JOIN instead of LEFT OUTER JOIN in a somewhat complicated case. The main issue was that there was a chain of nullable FK -> non-nullble FK, and the join promotion logic didn't see the need to promote the non-nullable FK even if the previous nullable FK was already promoted to LOUTER JOIN. This resulted in a query like a LOUTER b INNER c, which incorrectly prunes results.
Diffstat (limited to 'docs/ref')
0 files changed, 0 insertions, 0 deletions