[Groonga-mysql-commit] mroonga/mroonga [fix-for-visual-studio] [storage][multiple-column-index] fix index type: Text -> ShortText.

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Oct 4 10:28:01 JST 2012


Kouhei Sutou	2011-09-23 17:01:01 +0900 (Fri, 23 Sep 2011)

  New Revision: 5ba66cbe49823a64b465a22d34f27fda649b1437
  https://github.com/mroonga/mroonga/commit/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 16:48:46 +0900 (b26fca7)
+++ ha_mroonga.cc    2011-09-23 17:01:01 +0900 (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);
-------------- next part --------------
HTML����������������������������...
Download 



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