• Sergei Golubchik's avatar
    MDEV-12725 select on federated table crashes server · fa1f214c
    Sergei Golubchik authored
    NET can only store current_thd if this NET (or its MYSQL) is not
    moved between threads. In FederatedX MYSQL is part of the TABLE,
    and a TABLE can migrate between threads.
    
    Fix: associate NET with THD in txn->acquire() , and dissociate
    in txn->release()
    fa1f214c
ha_federatedx.cc 108 KB