null+****@clear*****
null+****@clear*****
2011年 12月 18日 (日) 12:37:22 JST
Kouhei Sutou 2011-12-18 03:37:22 +0000 (Sun, 18 Dec 2011)
New Revision: 3fcdb9de4937ea4a2bf0ffd611cec9f4810e324f
Log:
use meaningful variable names. refs #1196
Modified files:
ha_mroonga.cc
Modified: ha_mroonga.cc (+7 -7)
===================================================================
--- ha_mroonga.cc 2011-12-18 03:37:01 +0000 (21d5c51)
+++ ha_mroonga.cc 2011-12-18 03:37:22 +0000 (928da8e)
@@ -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()
@@ -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