[Groonga-commit] groonga/groonga [master] [query-log][analyzer] {command_raw => value} -> {command => {raw => value}}. refs #939

Back to archive index

null+****@clear***** null+****@clear*****
2011年 6月 2日 (木) 16:32:40 JST


Kouhei Sutou	2011-06-02 07:32:40 +0000 (Thu, 02 Jun 2011)

  New Revision: eaa4d5610c7b511aade1800676dfbc388a80d768

  Log:
    [query-log][analyzer] {command_raw => value} -> {command => {raw => value}}. refs #939

  Modified files:
    tools/groonga-query-log-analyzer.rb

  Modified: tools/groonga-query-log-analyzer.rb (+1 -1)
===================================================================
--- tools/groonga-query-log-analyzer.rb    2011-06-02 07:28:22 +0000 (fb5c2af)
+++ tools/groonga-query-log-analyzer.rb    2011-06-02 07:32:40 +0000 (2c663cb)
@@ -655,13 +655,13 @@ class GroongaQueryLogAnaylzer
         "end_time" => statistic.end_time.to_i,
         "elapsed" => statistic.elapsed_in_seconds,
         "return_code" => statistic.return_code,
-        "raw_command" => statistic.raw_command,
       }
       command = statistic.command
       parameters = command.parameters.collect do |key, value|
         {"key" => key, "value" => value}
       end
       data["command"] = {
+        "raw" => statistic.raw_command,
         "name" => command.name,
         "parameters" => parameters,
       }




Groonga-commit メーリングリストの案内
Back to archive index