Navigation Menu

Skip to content

Commit

Permalink
added flag GRN_OBJ_WITH_POSITION for fulltext index.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tetsuro IKEDA committed Jun 21, 2010
1 parent 783b306 commit 0041e88
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ha_mroonga.cc
Expand Up @@ -692,7 +692,8 @@ int ha_mroonga::create(const char *name, TABLE *table, HA_CREATE_INFO *info)
int mysql_field_type = field->type();
grn_builtin_type gtype = mrn_get_type(ctx, mysql_field_type);
col_type = grn_ctx_at(ctx, gtype);
grn_obj_flags idx_col_flags = GRN_OBJ_COLUMN_INDEX | GRN_OBJ_PERSISTENT;
grn_obj_flags idx_col_flags =
GRN_OBJ_COLUMN_INDEX | GRN_OBJ_WITH_POSITION | GRN_OBJ_PERSISTENT;

int key_alg = key_info.algorithm;
grn_obj_flags idx_tbl_flags;
Expand Down

0 comments on commit 0041e88

Please sign in to comment.