Commit a749b8f2 authored by unknown's avatar unknown

SIGNAL_WITH_VIO_CLOSES bugfix


sql/sql_class.cc:
  This should be #ifdefed
parent c8d85237
...@@ -469,11 +469,13 @@ int THD::send_explain_fields(select_result *result) ...@@ -469,11 +469,13 @@ int THD::send_explain_fields(select_result *result)
void THD::close_active_vio() void THD::close_active_vio()
{ {
safe_mutex_assert_owner(&LOCK_delete); safe_mutex_assert_owner(&LOCK_delete);
#ifndef EMBEDDED_LIBRARY
if (active_vio) if (active_vio)
{ {
vio_close(active_vio); vio_close(active_vio);
active_vio = 0; active_vio = 0;
} }
#endif
} }
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment