• Konstantin Osipov's avatar
    Backport two small cleanups from trunk-iplus tree: · 29f9fb7a
    Konstantin Osipov authored
        
    1) No mutex and no function call if we're not using
    plugins.
    2) If we're above the table definition cache limit,
    delete the oldest unused share, not the share on our hands.
    
    sql/sql_base.cc:
      If we're above the table definition cache limit,
      delete the oldest unused share, not the share on our hands.
    sql/sql_lex.cc:
      No mutex and no function call if we're not using
      plugins.
    29f9fb7a
sql_lex.cc 84.5 KB