[Groonga-commit] groonga/grnxx at a9949d9 [master] Fix a bug that open() creates a new store.

アーカイブの一覧に戻る

susumu.yata null+****@clear*****
Wed Jun 26 09:58:41 JST 2013


susumu.yata	2013-06-26 09:58:41 +0900 (Wed, 26 Jun 2013)

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

  Message:
    Fix a bug that open() creates a new store.

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

  Modified: lib/grnxx/map/key_store.cpp (+1 -1)
===================================================================
--- lib/grnxx/map/key_store.cpp    2013-06-25 15:12:06 +0900 (616f509)
+++ lib/grnxx/map/key_store.cpp    2013-06-26 09:58:41 +0900 (5e628ee)
@@ -73,7 +73,7 @@ KeyStore<T> *KeyStore<T>::open(Storage *storage, uint32_t storage_node_id) {
     GRNXX_ERROR() << "new grnxx::map::KeyStore failed";
     return nullptr;
   }
-  if (!store->create_store(storage, storage_node_id)) {
+  if (!store->open_store(storage, storage_node_id)) {
     return nullptr;
   }
   return store.release();
-------------- next part --------------
HTML����������������������������...
ダウンロード 



More information about the Groonga-commit mailing list
アーカイブの一覧に戻る