Skip to content

Commit

Permalink
fixup e305493 -DWITH_DBUG_TRACE=ON
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
dr-m committed Jul 30, 2021
1 parent 0aa2bc7 commit ac56a6c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions storage/innobase/handler/ha_innodb.cc
Original file line number Diff line number Diff line change
Expand Up @@ -15294,8 +15294,8 @@ bool ha_innobase::can_switch_engines()
{
DBUG_ENTER("ha_innobase::can_switch_engines");
update_thd();
return m_prebuilt->table->foreign_set.empty() &&
m_prebuilt->table->referenced_set.empty();
DBUG_RETURN(m_prebuilt->table->foreign_set.empty() &&
m_prebuilt->table->referenced_set.empty());
}

/*******************************************************************//**
Expand Down

0 comments on commit ac56a6c

Please sign in to comment.