[Groonga-commit] droonga/droonga-engine at b36e896 [buffered-forward] Detect query for the node itself correctly (regression)

Back to archive index

YUKI Hiroshi null+****@clear*****
Tue Mar 24 13:27:01 JST 2015


YUKI Hiroshi	2015-03-24 13:27:01 +0900 (Tue, 24 Mar 2015)

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

  Message:
    Detect query for the node itself correctly (regression)

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

  Modified: lib/droonga/command/remote.rb (+4 -4)
===================================================================
--- lib/droonga/command/remote.rb    2015-03-24 13:19:01 +0900 (4bb0fb8)
+++ lib/droonga/command/remote.rb    2015-03-24 13:27:01 +0900 (3955211)
@@ -55,15 +55,15 @@ module Droonga
             log("query for different cluster (to be ignroed)")
             return false
           end
-          unless for_me?
-            log("query for different node (to be ignored)")
-            return false
+          if for_me?
+            log("query for this node (to be processed)")
+            return true
           end
           if****@param*****? or not****@param*****?("node")
             log("anonymous query (to be processed)")
             return true
           end
-          log("invalid query (to be ignored)")
+          log("query for different query (to be ignored)")
           return false
         end
 
-------------- next part --------------
HTML����������������������������...
下载 



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