提交 92006756 编写于 作者: L liipx

format code

上级 e6ded5e4
...@@ -19,8 +19,8 @@ package advisor ...@@ -19,8 +19,8 @@ package advisor
import ( import (
"errors" "errors"
"sort" "sort"
"testing"
"strings" "strings"
"testing"
"github.com/XiaoMi/soar/common" "github.com/XiaoMi/soar/common"
......
...@@ -132,8 +132,8 @@ func getTrace(res *QueryResult) Trace { ...@@ -132,8 +132,8 @@ func getTrace(res *QueryResult) Trace {
var rows []TraceRow var rows []TraceRow
for _, row := range res.Rows { for _, row := range res.Rows {
rows = append(rows, TraceRow{ rows = append(rows, TraceRow{
Query: row.Str(0), Query: row.Str(0),
Trace: row.Str(1), Trace: row.Str(1),
MissingBytesBeyondMaxMemSize: row.Int(2), MissingBytesBeyondMaxMemSize: row.Int(2),
InsufficientPrivileges: row.Int(3), InsufficientPrivileges: row.Int(3),
}) })
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册