Kouhei Sutou 2019-03-25 10:11:43 +0900 (Mon, 25 Mar 2019) Revision: c7b55493b99863158b298c7cd5604fdeec42dd67 https://github.com/groonga/groonga-command-parser/commit/c7b55493b99863158b298c7cd5604fdeec42dd67 Message: format: don't keep the original source It reduces memory usage. Modified files: lib/groonga/command/parser/command/groonga-command-convert-format.rb Modified: lib/groonga/command/parser/command/groonga-command-convert-format.rb (+2 -2) =================================================================== --- lib/groonga/command/parser/command/groonga-command-convert-format.rb 2019-03-25 10:10:13 +0900 (d96dffb) +++ lib/groonga/command/parser/command/groonga-command-convert-format.rb 2019-03-25 10:11:43 +0900 (6cf1c58) @@ -1,4 +1,4 @@ -# Copyright (C) 2014-2017 Kouhei Sutou <kou****@clear*****> +# Copyright (C) 2014-2019 Kouhei Sutou <kou****@clear*****> # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public @@ -95,7 +95,7 @@ module Groonga end def convert(input) - parser = Parser.new + parser = Parser.new(need_original_source: false) case @format when :elasticsearch parser.on_load_columns do |command, columns| -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20190325/d8326c72/attachment-0001.html>