[Groonga-commit] droonga/fluent-plugin-droonga at 983edd3 [master] Fix wrong operator in block for rroonga's select

Back to archive index

YUKI Hiroshi null+****@clear*****
Thu Oct 31 15:40:59 JST 2013


YUKI Hiroshi	2013-10-31 15:40:59 +0900 (Thu, 31 Oct 2013)

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

  Message:
    Fix wrong operator in block for rroonga's select
    
    @ =>
    =~

  Modified files:
    lib/droonga/watcher.rb

  Modified: lib/droonga/watcher.rb (+2 -2)
===================================================================
--- lib/droonga/watcher.rb    2013-10-31 15:32:56 +0900 (8c15deb)
+++ lib/droonga/watcher.rb    2013-10-31 15:40:59 +0900 (5b79d35)
@@ -209,7 +209,7 @@ module Droonga
     def sweep_orphan_queries(queries)
       queries.each do |query|
         if subscriber_table.select do |subscriber|
-             subscriber.queries @ query
+             subscriber.queries =~ query
            end.empty?
           delete_query(query)
         end
@@ -219,7 +219,7 @@ module Droonga
     def sweep_orphan_keywords(keywords)
       keywords.each do |keyword|
         if query_table.select do |query|
-             query.keywords @ keyword
+             query.keywords =~ keyword
            end.empty?
           keyword.delete
         end
-------------- next part --------------
HTML����������������������������...
Download 



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