[Groonga-commit] groonga/grntest at 0fe3bae [master] Support --columns option for load

Back to archive index

Kouhei Sutou null+****@clear*****
Tue Mar 15 12:30:39 JST 2016


Kouhei Sutou	2016-03-15 12:30:39 +0900 (Tue, 15 Mar 2016)

  New Revision: 0fe3bae223c59e4eb6ea8e83b4510b6b6c7ed5cd
  https://github.com/groonga/grntest/commit/0fe3bae223c59e4eb6ea8e83b4510b6b6c7ed5cd

  Message:
    Support --columns option for load

  Modified files:
    lib/grntest/executors/http-executor.rb

  Modified: lib/grntest/executors/http-executor.rb (+3 -1)
===================================================================
--- lib/grntest/executors/http-executor.rb    2016-03-14 15:20:17 +0900 (1446256)
+++ lib/grntest/executors/http-executor.rb    2016-03-15 12:30:39 +0900 (ceb7122)
@@ -63,7 +63,9 @@ module Grntest
 
         values = command.arguments.delete(:values)
         if lines.size >= 2 and lines[1].start_with?("[")
-          command.arguments.delete(:columns)
+          unless /\s--columns\s/ =~ lines.first
+            command.arguments.delete(:columns)
+          end
           body = lines[1..-1].join
         else
           body = values
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index