[Groonga-commit] groonga/groonga at 0a33552 [master] logical_count: remove needless return

Back to archive index

Kouhei Sutou null+****@clear*****
Wed Feb 4 18:35:31 JST 2015


Kouhei Sutou	2015-02-04 18:35:31 +0900 (Wed, 04 Feb 2015)

  New Revision: 0a335520df23d2d8f13feabe0ab8f36658bb6b41
  https://github.com/groonga/groonga/commit/0a335520df23d2d8f13feabe0ab8f36658bb6b41

  Message:
    logical_count: remove needless return

  Modified files:
    plugins/sharding/search.rb

  Modified: plugins/sharding/search.rb (+1 -1)
===================================================================
--- plugins/sharding/search.rb    2015-02-04 18:30:34 +0900 (40673a2)
+++ plugins/sharding/search.rb    2015-02-04 18:35:31 +0900 (dfe7709)
@@ -49,7 +49,7 @@ module Groonga
         cover_type = target_range.cover_type(shard_range)
         case cover_type
         when :none
-          return 0
+          0
         when :all
           return table.size if filter.nil?
           filtered_count_n_records(table, filter)
-------------- next part --------------
HTML����������������������������...
다운로드 



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