~maria-captains/maria/5.5-explain-analyze

« back to all changes in this revision

Viewing changes to sql/sql_join_cache.cc

  • Committer: Sergey Petrunya
  • Date: 2012-09-03 15:11:24 UTC
  • Revision ID: psergey@askmonty.org-20120903151124-s1y9vrz3k4ezy642
MDEV-406: EXPLAIN ANALYZE 
- First code, it is possible to get the data for joins/unions
- Numbers for join buffering are likely to be incorrect
- Same for subqueries (what should 'loops' show?)

Show diffs side-by-side

added added

removed removed

Lines of Context:
2056
2056
  bool outer_join_first_inner= join_tab->is_first_inner_for_outer_join();
2057
2057
  DBUG_ENTER("JOIN_CACHE::join_records");
2058
2058
 
 
2059
  join_tab->loop_count++;
 
2060
 
2059
2061
  if (outer_join_first_inner && !join_tab->first_unmatched)
2060
2062
    join_tab->not_null_compl= TRUE;   
2061
2063