Commit ac56a6c1 authored by Marko Mäkelä's avatar Marko Mäkelä

fixup e305493b -DWITH_DBUG_TRACE=ON

ha_innobase::can_switch_engines(): Use DBUG_RETURN instead of return
to match the DBUG_ENTER. This fixes a bootstrap failure of debug builds
using the default setting -DWITH_DBUG_TRACE=ON.
parent 0aa2bc7a
...@@ -15294,8 +15294,8 @@ bool ha_innobase::can_switch_engines() ...@@ -15294,8 +15294,8 @@ bool ha_innobase::can_switch_engines()
{ {
DBUG_ENTER("ha_innobase::can_switch_engines"); DBUG_ENTER("ha_innobase::can_switch_engines");
update_thd(); update_thd();
return m_prebuilt->table->foreign_set.empty() && DBUG_RETURN(m_prebuilt->table->foreign_set.empty() &&
m_prebuilt->table->referenced_set.empty(); m_prebuilt->table->referenced_set.empty());
} }
/*******************************************************************//** /*******************************************************************//**
......
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