• Sergey Vojtovich's avatar
    Allocate Session_sysvars_tracker statically · 554ac6f3
    Sergey Vojtovich authored
    One less new/delete per connection.
    
    Removed m_mem_flag since most allocs are thread specific. The only
    exception are allocs performed during initialization.
    
    Removed State_tracker and Session_tracker constructors as they don't make
    sense anymore.
    
    No reason to access session_sysvars_tracker via get_tracker(), so access
    it directly instead.
    
    Part of MDEV-14984 - regression in connect performance
    554ac6f3
session_tracker.h 13.4 KB