• Konstantin Osipov's avatar
    Backport two small cleanups from trunk-iplus tree: · 22b9ccc8
    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.
    22b9ccc8
sql_base.cc 299 KB