[Groonga-mysql-commit] mroonga/mroonga [fix-for-visual-studio] use meaningful variable names. refs #1196

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Oct 4 10:41:22 JST 2012


Kouhei Sutou	2011-12-18 12:37:22 +0900 (Sun, 18 Dec 2011)

  New Revision: 3fcdb9de4937ea4a2bf0ffd611cec9f4810e324f
  https://github.com/mroonga/mroonga/commit/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 12:37:01 +0900 (21d5c51)
+++ ha_mroonga.cc    2011-12-18 12:37:22 +0900 (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
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-mysql-commit mailing list
Back to archive index