[Groonga-mysql-commit] mroonga/mroonga [master] Fix typos

アーカイブの一覧に戻る

null+****@clear***** null+****@clear*****
2012年 4月 20日 (金) 16:27:07 JST


Kouhei Sutou	2012-04-20 16:27:07 +0900 (Fri, 20 Apr 2012)

  New Revision: 37440172c5d9a4051385ee4b2acb6b62396f2b65

  Log:
    Fix typos
    
    temporay_error ->
    temporary_error
    
    Pointed out by Ryo Onodera. Thanks!!!

  Modified files:
    ha_mroonga.cpp

  Modified: ha_mroonga.cpp (+9 -9)
===================================================================
--- ha_mroonga.cpp    2012-04-19 20:57:54 +0900 (6243ed8)
+++ ha_mroonga.cpp    2012-04-20 16:27:07 +0900 (2771470)
@@ -6926,36 +6926,36 @@ void ha_mroonga::cond_pop()
 
 bool ha_mroonga::wrapper_get_error_message(int error, String *buf)
 {
-  bool temporay_error;
+  bool temporary_error;
   MRN_DBUG_ENTER_METHOD();
   MRN_SET_WRAP_SHARE_KEY(share, table->s);
   MRN_SET_WRAP_TABLE_KEY(this, table);
-  temporay_error = wrap_handler->get_error_message(error, buf);
+  temporary_error = wrap_handler->get_error_message(error, buf);
   MRN_SET_BASE_SHARE_KEY(share, table->s);
   MRN_SET_BASE_TABLE_KEY(this, table);
-  DBUG_RETURN(temporay_error);
+  DBUG_RETURN(temporary_error);
 }
 
 bool ha_mroonga::storage_get_error_message(int error, String *buf)
 {
   MRN_DBUG_ENTER_METHOD();
-  bool temporay_error = false;
+  bool temporary_error = false;
   // latest error message
   buf->copy(ctx->errbuf, (uint) strlen(ctx->errbuf), system_charset_info);
-  DBUG_RETURN(temporay_error);
+  DBUG_RETURN(temporary_error);
 }
 
 bool ha_mroonga::get_error_message(int error, String *buf)
 {
   MRN_DBUG_ENTER_METHOD();
-  bool temporay_error;
+  bool temporary_error;
   if (share && share->wrapper_mode)
   {
-    temporay_error = wrapper_get_error_message(error, buf);
+    temporary_error = wrapper_get_error_message(error, buf);
   } else {
-    temporay_error = storage_get_error_message(error, buf);
+    temporary_error = storage_get_error_message(error, buf);
   }
-  DBUG_RETURN(temporay_error);
+  DBUG_RETURN(temporary_error);
 }
 
 void ha_mroonga::push_warning_unsupported_spatial_index_search(enum ha_rkey_function flag)




Groonga-mysql-commit メーリングリストの案内
アーカイブの一覧に戻る