Navigation Menu

Skip to content

Commit

Permalink
don't call function in DBUG_RETURN(). refs #1196
Browse files Browse the repository at this point in the history
Calling function in DBUG_RETURN() may break a balance of
DBUG_ENTER() and DBUG_RETURN().
  • Loading branch information
kou committed Dec 18, 2011
1 parent 72bb62c commit 3a5fafa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ha_mroonga.cc
Expand Up @@ -8663,7 +8663,8 @@ bool ha_mroonga::wrapper_primary_key_is_clustered()
bool ha_mroonga::storage_primary_key_is_clustered()
{
MRN_DBUG_ENTER_METHOD();
DBUG_RETURN(handler::primary_key_is_clustered());
bool is_clustered = handler::primary_key_is_clustered();
DBUG_RETURN(is_clustered);
}

bool ha_mroonga::primary_key_is_clustered()
Expand Down

0 comments on commit 3a5fafa

Please sign in to comment.