[Groonga-mysql-commit] mroonga/mroonga [master] remove needless comments.

Back to archive index

null+****@clear***** null+****@clear*****
2012年 2月 15日 (水) 17:51:35 JST


Kouhei Sutou	2012-02-15 17:51:35 +0900 (Wed, 15 Feb 2012)

  New Revision: 0accba34ed1414ea756fef8c9dcc0a4362f88e17

  Log:
    remove needless comments.

  Modified files:
    ha_mroonga.cc

  Modified: ha_mroonga.cc (+1 -3)
===================================================================
--- ha_mroonga.cc    2012-02-15 17:49:47 +0900 (f5506f4)
+++ ha_mroonga.cc    2012-02-15 17:51:35 +0900 (eff7329)
@@ -3333,8 +3333,7 @@ int ha_mroonga::close()
     error = storage_close();
   }
 
-  if (share->table_name[0] != '.') {
-    /* temporary table */
+  if (is_temporary_table_name(share->table_name[0])) {
     char db_name[MRN_MAX_PATH_SIZE];
     char table_name[MRN_MAX_PATH_SIZE];
     TABLE_LIST table_list;
@@ -3570,7 +3569,6 @@ int ha_mroonga::delete_table(const char *name)
   mrn_free_tmp_table_share(tmp_table_share);
   mrn_open_mutex_unlock();
   if (is_temporary_table_name(name)) {
-    /* temporary table */
     mrn_drop_db(mrn_hton_ptr, (char *) name);
   }
   DBUG_RETURN(error);




Groonga-mysql-commit メーリングリストの案内
Back to archive index