[Groonga-commit] groonga/grnxx at 7c2f9fb [master] Add a missing initialization.

Back to archive index

susumu.yata null+****@clear*****
Mon Jun 17 14:06:04 JST 2013


susumu.yata	2013-06-17 14:06:04 +0900 (Mon, 17 Jun 2013)

  New Revision: 7c2f9fb1743ea7fce115dd5928cef4dcb5582182
  https://github.com/groonga/grnxx/commit/7c2f9fb1743ea7fce115dd5928cef4dcb5582182

  Message:
    Add a missing initialization.

  Modified files:
    lib/grnxx/map/key_store.cpp

  Modified: lib/grnxx/map/key_store.cpp (+1 -0)
===================================================================
--- lib/grnxx/map/key_store.cpp    2013-06-17 14:05:41 +0900 (9612959)
+++ lib/grnxx/map/key_store.cpp    2013-06-17 14:06:04 +0900 (616f509)
@@ -167,6 +167,7 @@ template <typename T>
 bool KeyStore<T>::truncate() {
   header_->max_key_id = MAP_MIN_KEY_ID - 1;
   header_->num_keys = 0;
+  header_->latest_link = INVALID_LINK;
   return true;
 }
 
-------------- next part --------------
HTML����������������������������...
Download 



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