Kouhei Sutou
null+****@clear*****
Fri Oct 28 00:13:51 JST 2016
Kouhei Sutou 2016-10-28 00:13:51 +0900 (Fri, 28 Oct 2016) New Revision: 78a6a232a5bb3f1b320c902dd919cca2176dfcef https://github.com/pgroonga/pgroonga/commit/78a6a232a5bb3f1b320c902dd919cca2176dfcef Message: Use specific flags type It requires Groonga 6.0.7 or later. Modified files: Makefile src/pgrn_groonga.c src/pgrn_groonga.h Modified: Makefile (+1 -1) =================================================================== --- Makefile 2016-10-27 23:32:03 +0900 (41b2738) +++ Makefile 2016-10-28 00:13:51 +0900 (ddacbb0) @@ -1,4 +1,4 @@ -REQUIRED_GROONGA_VERSION = 5.1.2 +REQUIRED_GROONGA_VERSION = 6.0.7 GROONGA_PKG = "groonga >= $(REQUIRED_GROONGA_VERSION)" PACKAGES = $(GROONGA_PKG) ifdef HAVE_MSGPACK Modified: src/pgrn_groonga.c (+2 -2) =================================================================== --- src/pgrn_groonga.c 2016-10-27 23:32:03 +0900 (8053c96) +++ src/pgrn_groonga.c 2016-10-28 00:13:51 +0900 (2649118) @@ -170,7 +170,7 @@ PGrnLookupIndexColumn(Relation index, unsigned int nthAttribute, int errorLevel) grn_obj * PGrnCreateTable(const char *name, - grn_obj_flags flags, + grn_table_flags flags, grn_obj *type) { grn_obj *table; @@ -195,7 +195,7 @@ PGrnCreateTable(const char *name, grn_obj * PGrnCreateColumn(grn_obj *table, const char *name, - grn_obj_flags flags, + grn_column_flags flags, grn_obj *type) { grn_obj *column; Modified: src/pgrn_groonga.h (+2 -2) =================================================================== --- src/pgrn_groonga.h 2016-10-27 23:32:03 +0900 (1702e15) +++ src/pgrn_groonga.h 2016-10-28 00:13:51 +0900 (2b0ae32) @@ -33,11 +33,11 @@ grn_obj *PGrnLookupIndexColumn(Relation index, int errorLevel); grn_obj *PGrnCreateTable(const char *name, - grn_obj_flags flags, + grn_table_flags flags, grn_obj *type); grn_obj *PGrnCreateColumn(grn_obj *table, const char*name, - grn_obj_flags flags, + grn_column_flags flags, grn_obj *type); void PGrnIndexColumnSetSource(grn_obj *indexColumn, grn_obj *source); -------------- next part -------------- HTML����������������������������...Download