Yoji Shidara
null+****@clear*****
Tue Feb 18 16:15:47 JST 2014
Yoji Shidara 2014-02-18 16:15:47 +0900 (Tue, 18 Feb 2014) New Revision: e548ac2ede52570dc0a816c4f7195202cb0e1138 https://github.com/droonga/fluent-plugin-droonga/commit/e548ac2ede52570dc0a816c4f7195202cb0e1138 Message: schema: Insert type_flag method Modified files: lib/droonga/catalog/schema.rb Modified: lib/droonga/catalog/schema.rb (+5 -1) =================================================================== --- lib/droonga/catalog/schema.rb 2014-02-18 16:13:43 +0900 (310e5ba) +++ lib/droonga/catalog/schema.rb 2014-02-18 16:15:47 +0900 (bcfa44a) @@ -99,7 +99,7 @@ module Droonga @data["normalizer"] end - def flags + def type_flag case type when "Array" "TABLE_NO_KEY" @@ -114,6 +114,10 @@ module Droonga end end + def flags + type_flag + end + def to_table_create_body body = { "name" => name, -------------- next part -------------- HTML����������������������������...Download