• unknown's avatar
    Patch to handle some bad situations resulting from the fix for BUG#19995. · ab28aa9c
    unknown authored
    
    sql/handler.cc:
      Generating table maps from all locks that can be available: THD::extra_lock,
      THD::lock, and THD::locked_tables.
    sql/sql_class.h:
      Adding member Open_tables:state::extra_lock to hold the extra lock used by select_create.
      Removing select_insert::lock.
    sql/sql_insert.cc:
      Adding member Open_tables:state::extra_lock to hold the extra lock used by select_create.
      Removing select_insert::lock.
    ab28aa9c
sql_insert.cc 90 KB