Skip to content

Commit

Permalink
Fix format issue
Browse files Browse the repository at this point in the history
Signed-off-by: yibin <huyibin@pingcap.cn>
  • Loading branch information
yibin committed Jul 16, 2024
1 parent 41dd4d6 commit b349e31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/executor/slow_query.go
Original file line number Diff line number Diff line change
Expand Up @@ -546,7 +546,7 @@ func findMatchedRightBracket(line string, leftBracketIdx int) int {
if leftBracketCnt > 0 {
current++
} else if leftBracketCnt == 0 {
if current + 1 < lineLength && line[current + 1] != ' ' {
if current+1 < lineLength && line[current+1] != ' ' {
return -1
}
return current
Expand Down

0 comments on commit b349e31

Please sign in to comment.