Skip to content

Commit

Permalink
fix fieldalignment
Browse files Browse the repository at this point in the history
Signed-off-by: ekexium <[email protected]>
  • Loading branch information
ekexium committed Aug 1, 2023
1 parent 97f6817 commit d305faa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion tests/realtikvtest/txntest/txn_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,6 @@ func TestPrintSelectResult(t *testing.T) {
for i := 0; i < 103; i++ {
tk.MustExec(fmt.Sprintf("insert into print_result values (%d, '%s')", i, "a"))
expected = append(expected, fmt.Sprintf("%d a", i))

}
tk.MustQuery("select * from print_result").Check(testkit.Rows(expected...))
}
4 changes: 2 additions & 2 deletions util/sqlexec/simple_record_set.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,10 @@ func NewLogWrapped(rs RecordSet, maxCachedRows int, fields ...zap.Field) RecordS

type recordSetLoggerWrapper struct {
rs RecordSet
maxCachedRows int
cachedRows []string
zapFields []zap.Field
fieldTypes []*types.FieldType
zapFields []zap.Field
maxCachedRows int
}

func (r *recordSetLoggerWrapper) Fields() []*ast.ResultField {
Expand Down

0 comments on commit d305faa

Please sign in to comment.