[Groonga-commit] droonga/droonga-engine at e9a2fa7 [master] Use ReplicasVolume#sliced? directly

Back to archive index

YUKI Piro Hiroshi null+****@clear*****
Fri Dec 12 00:55:22 JST 2014


YUKI "Piro" Hiroshi	2014-12-12 00:55:22 +0900 (Fri, 12 Dec 2014)

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

  Merged e0f9f34: Merge pull request #30 from piroor/replicas-in-a-branch

  Message:
    Use ReplicasVolume#sliced? directly

  Modified files:
    lib/droonga/catalog/dataset.rb

  Modified: lib/droonga/catalog/dataset.rb (+1 -3)
===================================================================
--- lib/droonga/catalog/dataset.rb    2014-12-12 00:52:09 +0900 (bf7881d)
+++ lib/droonga/catalog/dataset.rb    2014-12-12 00:55:22 +0900 (8d79a9f)
@@ -73,9 +73,7 @@ module Droonga
 
       def sliced?
         # TODO: Support slice key
-        replicas.any? do |volume|
-          volume.sliced?
-        end
+        @replicas.sliced?
       end
     end
   end
-------------- next part --------------
HTML����������������������������...
Télécharger 



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