YUKI Hiroshi
null+****@clear*****
Wed Sep 18 15:00:57 JST 2013
YUKI Hiroshi 2013-09-18 15:00:57 +0900 (Wed, 18 Sep 2013) New Revision: 32a33985f0fad9bfd91ff7d2a51ce5da1e4a12b6 https://github.com/droonga/fluent-plugin-droonga/commit/32a33985f0fad9bfd91ff7d2a51ce5da1e4a12b6 Message: Convert multiple commands correctly. This is just a workaround. Currently Groonga::Command::Parser#<< doesn't accept a large string including multiple commands. So we have to give each line of commands step by step. Modified files: lib/groonga_command_converter.rb Modified: lib/groonga_command_converter.rb (+3 -1) =================================================================== --- lib/groonga_command_converter.rb 2013-09-18 14:56:49 +0900 (0dfca54) +++ lib/groonga_command_converter.rb 2013-09-18 15:00:57 +0900 (98cce3f) @@ -60,7 +60,9 @@ module Droonga split_load_command_to_add_commands(command, &block) end - @command_parser << input + input.each_line do |line| + @command_parser << line + end @command_parser.finish end -------------- next part -------------- HTML����������������������������... Download