[Groonga-commit] droonga/fluent-plugin-droonga at 63edd3e [master] Do not break dependent_column_names

Back to archive index

Yoji Shidara null+****@clear*****
Thu Feb 27 13:23:44 JST 2014


Yoji Shidara	2014-02-27 13:23:44 +0900 (Thu, 27 Feb 2014)

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

  Message:
    Do not break dependent_column_names

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

  Modified: lib/droonga/catalog/schema.rb (+1 -1)
===================================================================
--- lib/droonga/catalog/schema.rb    2014-02-27 12:25:06 +0900 (64f2e10)
+++ lib/droonga/catalog/schema.rb    2014-02-27 13:23:44 +0900 (8c09f15)
@@ -222,7 +222,7 @@ module Droonga
 
         def tsort_each_child(column, &block)
           dependent_column_names = column.index_options.sources || []
-          dependent_column_names.delete("_key") # _key always exists after the table created
+          dependent_column_names = 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