• Vladislav Vaintroub's avatar
    Fix create_background_thd() · e38a05e2
    Vladislav Vaintroub authored
    Allow the caller to have current_thd. Also do not store
    PSI_CALL_get_thread() in the new THD, it is a thread local storage variable
    that can become invalid any time, we do not control the lifetime of the
    caller's thread.
    e38a05e2
sql_class.cc 241 KB