[Groonga-commit] groonga/groonga [master] tokenizer kytea: use grn_plugin_mutex_open()

アーカイブの一覧に戻る

Kouhei Sutou null+****@clear*****
Tue Nov 20 11:15:48 JST 2012


Kouhei Sutou	2012-11-20 11:15:48 +0900 (Tue, 20 Nov 2012)

  New Revision: 1610f96b7316e1c2430097b7b17e49afbc694755
  https://github.com/groonga/groonga/commit/1610f96b7316e1c2430097b7b17e49afbc694755

  Log:
    tokenizer kytea: use grn_plugin_mutex_open()
    
    Because grn_plugin_mutex_create() is deprecated.

  Modified files:
    plugins/tokenizers/kytea.cpp

  Modified: plugins/tokenizers/kytea.cpp (+2 -2)
===================================================================
--- plugins/tokenizers/kytea.cpp    2012-11-20 11:14:11 +0900 (00824c4)
+++ plugins/tokenizers/kytea.cpp    2012-11-20 11:15:48 +0900 (1e898a7)
@@ -41,11 +41,11 @@ void kytea_init(grn_ctx *ctx) {
     return;
   }
 
-  kytea_mutex = grn_plugin_mutex_create(ctx);
+  kytea_mutex = grn_plugin_mutex_open(ctx);
   if (!kytea_mutex) {
     kytea_fin(ctx);
     GRN_PLUGIN_ERROR(ctx, GRN_NO_MEMORY_AVAILABLE,
-                     "[tokenizer] grn_plugin_mutex_create() failed");
+                     "[tokenizer] grn_plugin_mutex_open() failed");
     return;
   }
 
-------------- next part --------------
HTML����������������������������...
ダウンロード 



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