null+****@clear*****
null+****@clear*****
2011年 9月 23日 (金) 17:01:01 JST
Kouhei Sutou 2011-09-23 08:01:01 +0000 (Fri, 23 Sep 2011)
New Revision: 5ba66cbe49823a64b465a22d34f27fda649b1437
Log:
[storage][multiple-column-index] fix index type: Text -> ShortText.
Modified files:
ha_mroonga.cc
Modified: ha_mroonga.cc (+1 -1)
===================================================================
--- ha_mroonga.cc 2011-09-23 07:48:46 +0000 (b26fca7)
+++ ha_mroonga.cc 2011-09-23 08:01:01 +0000 (fa5f9fe)
@@ -1531,7 +1531,7 @@ int ha_mroonga::storage_create(const char *name, TABLE *table,
grn_builtin_type groonga_type = mrn_get_type(ctx, mysql_field_type);
index_type = grn_ctx_at(ctx, groonga_type);
} else {
- index_type = grn_ctx_at(ctx, GRN_DB_TEXT);
+ index_type = grn_ctx_at(ctx, GRN_DB_SHORT_TEXT);
}
mrn_index_table_name_gen(tbl_name, key_info.name, idx_name);