[Groonga-commit] droonga/droonga-engine at ac5a2d5 [master] Detect query name correctly

Back to archive index

YUKI Hiroshi null+****@clear*****
Sun Jun 29 03:26:50 JST 2014


YUKI Hiroshi	2014-06-29 03:26:50 +0900 (Sun, 29 Jun 2014)

  New Revision: ac5a2d551a75511dc7091acc9f50868bbb91086d
  https://github.com/droonga/droonga-engine/commit/ac5a2d551a75511dc7091acc9f50868bbb91086d

  Message:
    Detect query name correctly

  Modified files:
    lib/droonga/command/serf_event_handler.rb

  Modified: lib/droonga/command/serf_event_handler.rb (+3 -1)
===================================================================
--- lib/droonga/command/serf_event_handler.rb    2014-06-29 03:19:06 +0900 (a903f9f)
+++ lib/droonga/command/serf_event_handler.rb    2014-06-29 03:26:50 +0900 (ccc0652)
@@ -53,9 +53,11 @@ module Droonga
         when "user"
           @event_sub_name = ENV["SERF_USER_EVENT"]
           @payload = JSON.parse($stdin.gets)
+          puts "event sub name = #{@event_sub_name}"
         when "query"
-          @event_sub_name = ENV["SERF_USER_QUERY"]
+          @event_sub_name = ENV["SERF_QUERY_NAME"]
           @payload = JSON.parse($stdin.gets)
+          puts "event sub name = #{@event_sub_name}"
         end
       end
 
-------------- next part --------------
HTML����������������������������...
Télécharger 



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