Skip to content

Commit

Permalink
Format source code style
Browse files Browse the repository at this point in the history
  • Loading branch information
csynineyang committed Jul 3, 2024
1 parent bbbb68b commit 5c2594a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/dataset/sort_merge_join.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ import (
)

import (
"github.com/arana-db/arana/pkg/mysql/rows"
"github.com/arana-db/arana/pkg/mysql"
"github.com/arana-db/arana/pkg/mysql/rows"
"github.com/arana-db/arana/pkg/proto"
"github.com/arana-db/arana/pkg/runtime/ast"
"github.com/arana-db/arana/pkg/util/log"
Expand Down Expand Up @@ -514,9 +514,9 @@ func (s *SortMergeJoin) resGenerate(rightRow proto.Row, leftRow proto.Row) proto
}

leftFields, _ := s.inner.Fields()
realFields = append(realFields, leftFields[:(len(leftFields) - 1)]...)
realFields = append(realFields, leftFields[:(len(leftFields)-1)]...)
rightFields, _ := s.outer.Fields()
realFields = append(realFields, rightFields[:(len(rightFields) - 1)]...)
realFields = append(realFields, rightFields[:(len(rightFields)-1)]...)

leftValue = make([]proto.Value, len(leftFields))
rightValue = make([]proto.Value, len(rightFields))
Expand Down

0 comments on commit 5c2594a

Please sign in to comment.