• Sergey Petrunya's avatar
    MWL#17: Table elimination · 854bb82b
    Sergey Petrunya authored
    Address review feedback: 
    - Change from Wave-based approach (a-la const table detection) to 
      building and walking functional dependency graph.
    - Change from piggy-backing on ref-access code and KEYUSE structures
      to using our own expression analyzer.
    
    
    sql/item.cc:
      MWL#17: Table elimination
      - Move from C-ish Field_processor_info to C++ ish and generic Field_enumerator
    sql/item.h:
      MWL#17: Table elimination
      - Move from C-ish Field_processor_info to C++ ish and generic Field_enumerator
    sql/sql_bitmap.h:
      MWL#17: Table elimination
      - Backport of Table_map_iterator from 6.0
    854bb82b
opt_table_elimination.cc 36.8 KB