-
Committer:
Sergey Petrunya
-
Date:
2011-09-20 16:40:07 UTC
-
mto:
This revision was merged to the branch mainline in
revision
3189.
-
Revision ID:
psergey@askmonty.org-20110920164007-adhe54m2ceqkfyp8
BUG#849763: Wrong result with second execution of prepared statement with semijoin + view
- The problem was that Item_direct_view_ref and its embedded Item_field were getting incorrect
value of item->used_tables() after fix_fields() in the second and subsequent EXECUTE.
- Made relevant fixes in Item_field::fix_fields() and find_field_in_tables(), so that the
Item_field gets the correct attributes.