[Groonga-commit] droonga/droonga-engine at aa126b0 [master] groonga: Handle array tables correctly

Back to archive index

YUKI Hiroshi null+****@clear*****
Thu Apr 24 12:06:45 JST 2014


YUKI Hiroshi	2014-04-24 12:06:45 +0900 (Thu, 24 Apr 2014)

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

  Message:
    groonga: Handle array tables correctly

  Modified files:
    lib/droonga/plugins/groonga/table_list.rb

  Modified: lib/droonga/plugins/groonga/table_list.rb (+2 -0)
===================================================================
--- lib/droonga/plugins/groonga/table_list.rb    2014-04-24 12:03:36 +0900 (d774b60)
+++ lib/droonga/plugins/groonga/table_list.rb    2014-04-24 12:06:45 +0900 (b89914a)
@@ -89,11 +89,13 @@ module Droonga
           end
 
           def default_tokenizer_name(table)
+            return nil if table.is_a?(::Groonga::Array)
             return nil unless table.default_tokenizer
             table.default_tokenizer.name
           end
 
           def normalizer_name(table)
+            return nil if table.is_a?(::Groonga::Array)
             return nil unless table.domain
             return nil unless table.normalizer
             table.normalizer.name
-------------- next part --------------
HTML����������������������������...
Download 



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