~maria-captains/maria/5.3

Viewing all changes in revision 3249.1.1.

  • Committer: Sergey Petrunya
  • Date: 2011-10-25 22:38:49 UTC
  • mto: This revision was merged to the branch mainline in revision 3251.
  • Revision ID: psergey@askmonty.org-20111025223849-ly2gpb7femxcf450
BUG#877288: Wrong result with semijoin + materialization + multipart key
- when create_ref_for_key() is constructing a ref access for
  a table that's inside a SJ-Materialization nest, it may not 
  use references to fields of tables that are unside the nest (because 
  these fields will not yet have values when ref access will be used)
  
  The check was performed in the first of create_ref_for_key's loops (the 
  one which counts how many key parts are usable) but not in the second
  (the one which actually fills the TABLE_REF structure). 

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: