Kouhei Sutou
null+****@clear*****
Sat Oct 25 11:48:55 JST 2014
Kouhei Sutou 2014-10-25 11:48:55 +0900 (Sat, 25 Oct 2014) New Revision: 07be5bdd707f0f23465b89b7973c8b9b1a3b17cd https://github.com/groonga/groonga/commit/07be5bdd707f0f23465b89b7973c8b9b1a3b17cd Message: Fix a bug that needed bulk buffer isn't allocated automatically It is caused only for weight uvector (vector of grn_id) bulk. Modified files: include/groonga.h Modified: include/groonga.h (+1 -1) =================================================================== --- include/groonga.h 2014-10-24 23:24:20 +0900 (a248da0) +++ include/groonga.h 2014-10-25 11:48:55 +0900 (cd0b5dd) @@ -1187,7 +1187,7 @@ GRN_API const char *grn_default_query_logger_get_path(void); #define GRN_BULK_REST(bulk) \ (GRN_BULK_OUTP(bulk)\ ? ((bulk)->u.b.tail - (bulk)->u.b.curr)\ - : GRN_BULK_BUFSIZE - (bulk)->header.flags) + : GRN_BULK_BUFSIZE - GRN_BULK_SIZE_IN_FLAGS((bulk)->header.flags)) #define GRN_BULK_VSIZE(bulk) \ (GRN_BULK_OUTP(bulk)\ ? ((bulk)->u.b.curr - (bulk)->u.b.head)\ -------------- next part -------------- HTML����������������������������...Download