[Groonga-commit] droonga/fluent-plugin-droonga at dc6177d [master] Simplify

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Feb 27 14:56:58 JST 2014


Kouhei Sutou	2014-02-27 14:56:58 +0900 (Thu, 27 Feb 2014)

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

  Message:
    Simplify

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

  Modified: lib/droonga/catalog/schema.rb (+1 -1)
===================================================================
--- lib/droonga/catalog/schema.rb    2014-02-27 14:19:31 +0900 (04668e5)
+++ lib/droonga/catalog/schema.rb    2014-02-27 14:56:58 +0900 (1e9b9b7)
@@ -222,7 +222,7 @@ module Droonga
 
         def tsort_each_child(column, &block)
           dependent_column_names = column.index_options.sources || []
-          dependent_column_names = dependent_column_names - ["_key"] # _key always exists after the table created
+          dependent_column_names -= ["_key"] # _key always exists after the table created
           reference_table = @tables[column.value_type_groonga]
           # TODO when _key specified, check to ensure reference_table is not Array
           dependent_columns = dependent_column_names.collect do |column_name|
-------------- next part --------------
HTML����������������������������...
Download 



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