1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

SIGNAL_WITH_VIO_CLOSES bugfix

This commit is contained in:
hf@deer.mysql.r18.ru
2003-01-28 21:03:05 +04:00
parent cff4a43711
commit d38c66b1ed

View File

@ -469,11 +469,13 @@ int THD::send_explain_fields(select_result *result)
void THD::close_active_vio()
{
safe_mutex_assert_owner(&LOCK_delete);
#ifndef EMBEDDED_LIBRARY
if (active_vio)
{
vio_close(active_vio);
active_vio = 0;
}
#endif
}
#endif