• Monty's avatar
    Simplified code in generate_derived_keys() and when using pos_in_tables · 4be0bfad
    Monty authored
    Added comments that not used keys of derivied tables will be deleted.
    Added some comments about checking if pos_in_table_list is 0.
    
    Other things:
    - Added a marker (DBTYPE_IN_PREDICATE) in TABLE_LIST->derived_type
      to indicate that the table was generated from IN (list). This is
      useful for debugging and can later be used by explain if needed.
    - Removed a not needed test of table->pos_in_table_list as it should
      always be valid at this point in time.
    4be0bfad
sql_select.cc 1.02 MB
The source could not be displayed because it is larger than 1 MB. You can load it anyway or download it instead.