susumu.yata
null+****@clear*****
Wed Jul 24 14:26:30 JST 2013
susumu.yata 2013-07-24 14:26:30 +0900 (Wed, 24 Jul 2013) New Revision: f315c44b600bf5e4a4767a74141f92879c362172 https://github.com/groonga/grnxx/commit/f315c44b600bf5e4a4767a74141f92879c362172 Message: Fix a bug of not incrementing num_keys. Modified files: lib/grnxx/map/key_pool.cpp Modified: lib/grnxx/map/key_pool.cpp (+1 -0) =================================================================== --- lib/grnxx/map/key_pool.cpp 2013-07-24 12:23:48 +0900 (82fec2b) +++ lib/grnxx/map/key_pool.cpp 2013-07-24 14:26:30 +0900 (be22179) @@ -345,6 +345,7 @@ int64_t KeyPool<Bytes>::add(KeyArg key) { if (static_cast<int64_t>(entry_id) > header_->max_key_id) { header_->max_key_id = entry_id; } + ++header_->num_keys; return entry_id; } -------------- next part -------------- HTML����������������������������...Download