Yoji Shidara
null+****@clear*****
Wed Feb 26 16:15:37 JST 2014
Yoji Shidara 2014-02-26 16:15:37 +0900 (Wed, 26 Feb 2014) New Revision: 98cbf26167b799111f18417f8819ad2ec8810b6e https://github.com/droonga/fluent-plugin-droonga/commit/98cbf26167b799111f18417f8819ad2ec8810b6e Message: Add missing "type" for column_create body Modified files: lib/droonga/catalog/schema.rb test/unit/catalog/test_schema.rb Modified: lib/droonga/catalog/schema.rb (+1 -0) =================================================================== --- lib/droonga/catalog/schema.rb 2014-02-26 16:12:18 +0900 (cd0b3c9) +++ lib/droonga/catalog/schema.rb 2014-02-26 16:15:37 +0900 (a349cde) @@ -110,6 +110,7 @@ module Droonga "name" => name, "table" => table, "flags" => flags.join("|"), + "type" => value_type_groonga } sources = index_options.sources if sources Modified: test/unit/catalog/test_schema.rb (+2 -1) =================================================================== --- test/unit/catalog/test_schema.rb 2014-02-26 16:12:18 +0900 (d506907) +++ test/unit/catalog/test_schema.rb 2014-02-26 16:15:37 +0900 (5b627e4) @@ -280,7 +280,8 @@ class CatalogSchemaTest < Test::Unit::TestCase assert_equal({ "name" => "column_name", "flags" => "COLUMN_SCALAR", - "table" => "table_name" + "table" => "table_name", + "type" => "ShortText" }, create_column("column_name", { -------------- next part -------------- HTML����������������������������... 下载