[Groonga-mysql-commit] mroonga/mroonga [fix-for-visual-studio] added flag GRN_OBJ_WITH_POSITION for fulltext index.

Back to archive index

Tetsuro IKEDA null+****@clear*****
Thu Oct 4 10:28:44 JST 2012


Tetsuro IKEDA	2010-06-21 17:42:38 +0900 (Mon, 21 Jun 2010)

  New Revision: 0041e8840d79daa436d58b56138e695ec37f6e9d
  https://github.com/mroonga/mroonga/commit/0041e8840d79daa436d58b56138e695ec37f6e9d

  Log:
    added flag GRN_OBJ_WITH_POSITION for fulltext index.

  Modified files:
    ha_mroonga.cc

  Modified: ha_mroonga.cc (+2 -1)
===================================================================
--- ha_mroonga.cc    2010-06-14 18:26:07 +0900 (a1d24c1)
+++ ha_mroonga.cc    2010-06-21 17:42:38 +0900 (bb7be03)
@@ -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;
-------------- next part --------------
HTML����������������������������...
다운로드 



More information about the Groonga-mysql-commit mailing list
Back to archive index