Navigation Menu

Skip to content

Commit

Permalink
use meaningful variable names. refs #1196
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Dec 18, 2011
1 parent 3a5fafa commit 3fcdb9d
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions ha_mroonga.cc
Expand Up @@ -8650,14 +8650,14 @@ void ha_mroonga::change_table_ptr(TABLE *table_arg, TABLE_SHARE *share_arg)

bool ha_mroonga::wrapper_primary_key_is_clustered()
{
bool res;
MRN_DBUG_ENTER_METHOD();
bool is_clustered;
MRN_SET_WRAP_SHARE_KEY(share, table->s);
MRN_SET_WRAP_TABLE_KEY(this, table);
res = wrap_handler->primary_key_is_clustered();
is_clustered = wrap_handler->primary_key_is_clustered();
MRN_SET_BASE_SHARE_KEY(share, table->s);
MRN_SET_BASE_TABLE_KEY(this, table);
DBUG_RETURN(res);
DBUG_RETURN(is_clustered);
}

bool ha_mroonga::storage_primary_key_is_clustered()
Expand All @@ -8670,14 +8670,14 @@ bool ha_mroonga::storage_primary_key_is_clustered()
bool ha_mroonga::primary_key_is_clustered()
{
MRN_DBUG_ENTER_METHOD();
bool res;
bool is_clustered;
if (share->wrapper_mode)
{
res = wrapper_primary_key_is_clustered();
is_clustered = wrapper_primary_key_is_clustered();
} else {
res = storage_primary_key_is_clustered();
is_clustered = storage_primary_key_is_clustered();
}
DBUG_RETURN(res);
DBUG_RETURN(is_clustered);
}

#ifdef __cplusplus
Expand Down

0 comments on commit 3fcdb9d

Please sign in to comment.