[Groonga-commit] droonga/fluent-plugin-droonga at f356ba6 [master] Don't specify key for array table

Back to archive index

YUKI Hiroshi null+****@clear*****
Thu Dec 26 17:28:50 JST 2013


YUKI Hiroshi	2013-12-26 17:28:50 +0900 (Thu, 26 Dec 2013)

  New Revision: f356ba6a0f227190080ed44ec26d3978e900aab4
  https://github.com/droonga/fluent-plugin-droonga/commit/f356ba6a0f227190080ed44ec26d3978e900aab4

  Message:
    Don't specify key for array table

  Modified files:
    lib/droonga/plugin/handler/add.rb

  Modified: lib/droonga/plugin/handler/add.rb (+1 -1)
===================================================================
--- lib/droonga/plugin/handler/add.rb    2013-12-26 17:26:59 +0900 (872a629)
+++ lib/droonga/plugin/handler/add.rb    2013-12-26 17:28:50 +0900 (5677d9e)
@@ -83,7 +83,7 @@ module Droonga
 
     def add_record(table, request)
       record = nil
-      if request["key"]
+      if table.support_key?
         record = table.add(request["key"])
       else
         record = table.add
-------------- next part --------------
HTML����������������������������...
Download 



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