• Sergey Vojtovich's avatar
    Adieu find_sys_var_ex() · 894df7ed
    Sergey Vojtovich authored
    Only take LOCK_plugin for plugin system variables.
    
    Reverted optimisation that was originally done for session tracker: it
    makes much less sense now. Specifically only if connections would want to
    track plugin session variables changes and these changes would actually
    happen frequently. If this ever becomes an issue, there're much better
    ways to optimise this workload.
    
    Part of MDEV-14984 - regression in connect performance
    894df7ed
sql_lex.cc 240 KB