[Groonga-mysql-commit] mroonga/mroonga [master] Add const

Back to archive index

null+****@clear***** null+****@clear*****
2012年 3月 19日 (月) 18:53:30 JST


Kouhei Sutou	2012-03-19 18:53:30 +0900 (Mon, 19 Mar 2012)

  New Revision: 0b3e57d07f1d8e0f80fdbb1dcc45554ad353e14a

  Log:
    Add const

  Modified files:
    ha_mroonga.cc
    ha_mroonga.h

  Modified: ha_mroonga.cc (+1 -1)
===================================================================
--- ha_mroonga.cc    2012-03-19 18:34:58 +0900 (bf8c939)
+++ ha_mroonga.cc    2012-03-19 18:53:30 +0900 (8392ede)
@@ -2320,7 +2320,7 @@ int ha_mroonga::wrapper_create_index_geo(const char *grn_table_name,
 int ha_mroonga::wrapper_create_index(const char *name, TABLE *table,
                                      HA_CREATE_INFO *info,
                                      MRN_SHARE *tmp_share,
-                                     char *grn_table_name)
+                                     const char *grn_table_name)
 {
   MRN_DBUG_ENTER_METHOD();
 

  Modified: ha_mroonga.h (+1 -1)
===================================================================
--- ha_mroonga.h    2012-03-19 18:34:58 +0900 (bb5d48b)
+++ ha_mroonga.h    2012-03-19 18:53:30 +0900 (80cfebc)
@@ -565,7 +565,7 @@ private:
                                MRN_SHARE *tmp_share);
   int wrapper_create_index(const char *name, TABLE *table,
                            HA_CREATE_INFO *info, MRN_SHARE *tmp_share,
-                           char *grn_table_name);
+                           const char *grn_table_name);
   int storage_create_validate_pseudo_column(TABLE *table);
   int storage_create_validate_index(TABLE *table);
   int storage_create_index(TABLE *table, const char *grn_table_name,




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