[Groonga-commit] groonga/grnxx at eb14263 [master] Fix a bug of wrongly incrementing num_keys at chunk creation.

Back to archive index

susumu.yata null+****@clear*****
Fri May 17 22:57:35 JST 2013


susumu.yata	2013-05-17 22:57:35 +0900 (Fri, 17 May 2013)

  New Revision: eb1426330c35887db563b6b80022ba4849767623
  https://github.com/groonga/grnxx/commit/eb1426330c35887db563b6b80022ba4849767623

  Message:
    Fix a bug of wrongly incrementing num_keys at chunk creation.

  Modified files:
    lib/grnxx/storage/storage_impl.cpp

  Modified: lib/grnxx/storage/storage_impl.cpp (+0 -1)
===================================================================
--- lib/grnxx/storage/storage_impl.cpp    2013-05-17 21:53:38 +0900 (971bf71)
+++ lib/grnxx/storage/storage_impl.cpp    2013-05-17 22:57:35 +0900 (658f55c)
@@ -752,7 +752,6 @@ bool StorageImpl::associate_node_with_chunk(NodeHeader *node_header,
     // This error may rarely occur.
     return false;
   }
-  ++header_->num_nodes;
   return true;
 }
 
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index