diff --git a/dbcon/mysql/ha_mcs_impl.cpp b/dbcon/mysql/ha_mcs_impl.cpp index a8cdab101..b89edddb7 100644 --- a/dbcon/mysql/ha_mcs_impl.cpp +++ b/dbcon/mysql/ha_mcs_impl.cpp @@ -3912,8 +3912,6 @@ int ha_mcs_impl_close_connection (handlerton* hton, THD* thd) ci->cal_conn_hndl = 0; } - thd_set_ha_data(thd, hton, NULL); - return rc; }