null+****@clear*****
null+****@clear*****
2012年 1月 10日 (火) 15:59:59 JST
Yoji SHIDARA 2012-01-10 15:59:59 +0900 (Tue, 10 Jan 2012)
New Revision: 4c5d0d26373dc1368ccade6c58b6916a457bcd11
Log:
[msgpack] should be sum of #keys and #values
refs #1215
Modified files:
lib/hash.c
lib/pat.c
Modified: lib/hash.c (+1 -1)
===================================================================
--- lib/hash.c 2012-01-10 15:35:01 +0900 (ee7a88c)
+++ lib/hash.c 2012-01-10 15:59:59 +0900 (24d24e9)
@@ -2139,7 +2139,7 @@ grn_hash_check(grn_ctx *ctx, grn_hash *hash)
char buf[8];
struct grn_hash_header *h = hash->header;
GRN_OUTPUT_ARRAY_OPEN("RESULT", 1);
- GRN_OUTPUT_MAP_OPEN("SUMMARY", 12);
+ GRN_OUTPUT_MAP_OPEN("SUMMARY", 24);
GRN_OUTPUT_CSTR("flags");
grn_itoh(h->flags, buf, 8);
GRN_OUTPUT_STR(buf, 8);
Modified: lib/pat.c (+1 -1)
===================================================================
--- lib/pat.c 2012-01-10 15:35:01 +0900 (db4c840)
+++ lib/pat.c 2012-01-10 15:59:59 +0900 (6d584b3)
@@ -2205,7 +2205,7 @@ grn_pat_check(grn_ctx *ctx, grn_pat *pat)
char buf[8];
struct grn_pat_header *h = pat->header;
GRN_OUTPUT_ARRAY_OPEN("RESULT", 1);
- GRN_OUTPUT_MAP_OPEN("SUMMARY", 11);
+ GRN_OUTPUT_MAP_OPEN("SUMMARY", 22);
GRN_OUTPUT_CSTR("flags");
grn_itoh(h->flags, buf, 8);
GRN_OUTPUT_STR(buf, 8);