[Groonga-commit] ranguba/rroonga at 4e35137 [master] Use grn_table_flags introduced since Groonga 6.0.2

Back to archive index

Kouhei Sutou null+****@clear*****
Mon May 16 10:58:22 JST 2016


Kouhei Sutou	2016-05-16 10:58:22 +0900 (Mon, 16 May 2016)

  New Revision: 4e35137e2a1bc90500b004439a6c072b896eb199
  https://github.com/ranguba/rroonga/commit/4e35137e2a1bc90500b004439a6c072b896eb199

  Message:
    Use grn_table_flags introduced since Groonga 6.0.2
    
    Because grn_obj_flags doesn't work with GRN_OBJ_KEY_LARGE.

  Modified files:
    ext/groonga/rb-grn-array.c
    ext/groonga/rb-grn-double-array-trie.c
    ext/groonga/rb-grn-hash.c
    ext/groonga/rb-grn-patricia-trie.c

  Modified: ext/groonga/rb-grn-array.c (+1 -1)
===================================================================
--- ext/groonga/rb-grn-array.c    2016-05-16 10:25:56 +0900 (17d1cc2)
+++ ext/groonga/rb-grn-array.c    2016-05-16 10:58:22 +0900 (60c105c)
@@ -90,7 +90,7 @@ rb_grn_array_s_create (int argc, VALUE *argv, VALUE klass)
     grn_obj *value_type = NULL, *table;
     const char *name = NULL, *path = NULL;
     unsigned name_size = 0;
-    grn_obj_flags flags = GRN_OBJ_TABLE_NO_KEY;
+    grn_table_flags flags = GRN_OBJ_TABLE_NO_KEY;
     VALUE rb_table;
     VALUE options, rb_context, rb_name, rb_path, rb_persistent;
     VALUE rb_value_type, rb_sub_records;

  Modified: ext/groonga/rb-grn-double-array-trie.c (+1 -1)
===================================================================
--- ext/groonga/rb-grn-double-array-trie.c    2016-05-16 10:25:56 +0900 (3b1bfc4)
+++ ext/groonga/rb-grn-double-array-trie.c    2016-05-16 10:58:22 +0900 (c771f19)
@@ -245,7 +245,7 @@ rb_grn_double_array_trie_s_create (int argc, VALUE *argv, VALUE klass)
     grn_obj *key_type = NULL, *value_type = NULL, *table;
     const char *name = NULL, *path = NULL;
     unsigned name_size = 0;
-    grn_obj_flags flags = GRN_OBJ_TABLE_DAT_KEY;
+    grn_table_flags flags = GRN_OBJ_TABLE_DAT_KEY;
     VALUE rb_table;
     VALUE options, rb_context, rb_name, rb_path, rb_persistent;
     VALUE rb_key_normalize, rb_key_with_sis, rb_key_type;

  Modified: ext/groonga/rb-grn-hash.c (+1 -1)
===================================================================
--- ext/groonga/rb-grn-hash.c    2016-05-16 10:25:56 +0900 (6526807)
+++ ext/groonga/rb-grn-hash.c    2016-05-16 10:58:22 +0900 (5c87ce7)
@@ -164,7 +164,7 @@ rb_grn_hash_s_create (int argc, VALUE *argv, VALUE klass)
     grn_obj *key_type = NULL, *value_type = NULL, *table;
     const char *name = NULL, *path = NULL;
     unsigned name_size = 0;
-    grn_obj_flags flags = GRN_OBJ_TABLE_HASH_KEY;
+    grn_table_flags flags = GRN_OBJ_TABLE_HASH_KEY;
     VALUE rb_table;
     VALUE options, rb_context, rb_name, rb_path, rb_persistent;
     VALUE rb_key_normalize;

  Modified: ext/groonga/rb-grn-patricia-trie.c (+1 -1)
===================================================================
--- ext/groonga/rb-grn-patricia-trie.c    2016-05-16 10:25:56 +0900 (229e9cc)
+++ ext/groonga/rb-grn-patricia-trie.c    2016-05-16 10:58:22 +0900 (1349017)
@@ -166,7 +166,7 @@ rb_grn_patricia_trie_s_create (int argc, VALUE *argv, VALUE klass)
     grn_obj *key_type = NULL, *value_type = NULL, *table;
     const char *name = NULL, *path = NULL;
     unsigned name_size = 0;
-    grn_obj_flags flags = GRN_OBJ_TABLE_PAT_KEY;
+    grn_table_flags flags = GRN_OBJ_TABLE_PAT_KEY;
     VALUE rb_table;
     VALUE options, rb_context, rb_name, rb_path, rb_persistent;
     VALUE rb_key_normalize, rb_key_with_sis, rb_key_type;
-------------- next part --------------
HTML����������������������������...
Download 



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