~maria-captains/maria/5.3

Viewing all changes in revision 3395.

  • Committer: Sergey Petrunya
  • Date: 2012-01-25 18:05:20 UTC
  • Revision ID: psergey@askmonty.org-20120125180520-zmwrarg0bq08q3n5
BUG#920713: Wrong result (missing rows) with firstmatch+BNL, IN subquery, ...
- Disable use of join cache when we're using FirstMatch strategy, and the join
  order is such that subquery's inner tables are interleaved with outer.  Join 
  buffering code is incapable of handling such join orders.

- The testcase requires use of @@debug_optimizer_prefer_join_prefix to hit the bug, 
  but I'm pushing it anyway (including the mention of the variable in .test file), 
  so that it can be found and enabled when/if we get something comparable in the 
  main tree.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: