susumu.yata
null+****@clear*****
Mon Jul 8 12:37:28 JST 2013
susumu.yata 2013-07-08 12:37:28 +0900 (Mon, 08 Jul 2013) New Revision: 54473cf973724c11802012d7511502f82fa5ac47 https://github.com/groonga/grnxx/commit/54473cf973724c11802012d7511502f82fa5ac47 Message: Fix a bug that prefix keys get lost (#1803). Modified files: lib/grnxx/map/patricia.cpp Modified: lib/grnxx/map/patricia.cpp (+1 -1) =================================================================== --- lib/grnxx/map/patricia.cpp 2013-07-04 11:34:33 +0900 (9981020) +++ lib/grnxx/map/patricia.cpp 2013-07-08 12:37:28 +0900 (cd3d52b) @@ -993,7 +993,7 @@ bool Patricia<Bytes>::add(KeyArg key, int64_t *key_id) { if (node->bit_pos() < count) { break; } - } else if (node->bit_size() < count) { + } else if (node->bit_size() <= count) { break; } } -------------- next part -------------- HTML����������������������������...Download