null+****@clear*****
null+****@clear*****
2011年 10月 27日 (木) 11:49:04 JST
Kouhei Sutou 2011-10-27 02:49:04 +0000 (Thu, 27 Oct 2011)
New Revision: 1c42247e13c24df4a0a76ab5b4faa8d427ea434c
Log:
[storage] fix typos.
Modified files:
ha_mroonga.cc
ha_mroonga.h
Modified: ha_mroonga.cc (+3 -3)
===================================================================
--- ha_mroonga.cc 2011-10-26 16:00:39 +0000 (0eaa38d)
+++ ha_mroonga.cc 2011-10-27 02:49:04 +0000 (4797056)
@@ -1789,7 +1789,7 @@ int ha_mroonga::storage_create(const char *name, TABLE *table,
}
}
- error = storage_create_indexs(table, tbl_name, tbl_obj, tmp_share);
+ error = storage_create_indexes(table, tbl_name, tbl_obj, tmp_share);
if (error) {
grn_obj_remove(ctx, tbl_obj);
tbl_obj = NULL;
@@ -1999,8 +1999,8 @@ int ha_mroonga::storage_create_index(TABLE *table, const char *grn_table_name,
DBUG_RETURN(error);
}
-int ha_mroonga::storage_create_indexs(TABLE *table, const char *grn_table_name,
- grn_obj *grn_table, MRN_SHARE *tmp_share)
+int ha_mroonga::storage_create_indexes(TABLE *table, const char *grn_table_name,
+ grn_obj *grn_table, MRN_SHARE *tmp_share)
{
MRN_DBUG_ENTER_METHOD();
int error = 0, i;
Modified: ha_mroonga.h (+2 -2)
===================================================================
--- ha_mroonga.h 2011-10-26 16:00:39 +0000 (4737b7e)
+++ ha_mroonga.h 2011-10-27 02:49:04 +0000 (e003e5e)
@@ -365,8 +365,8 @@ private:
grn_obj *grn_table, MRN_SHARE *tmp_share,
KEY *key_info, grn_obj **index_tables,
grn_obj **index_columns, uint i);
- int storage_create_indexs(TABLE *table, const char *grn_table_name,
- grn_obj *grn_table, MRN_SHARE *tmp_share);
+ int storage_create_indexes(TABLE *table, const char *grn_table_name,
+ grn_obj *grn_table, MRN_SHARE *tmp_share);
int close_databases();
int ensure_database_create(const char *name);
int ensure_database_open(const char *name);