Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions proxy/plan/plan_unshard.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,7 @@ func IsSelectLastInsertIDStmt(stmt ast.StmtNode) bool {
// IsSetStmt check if the statement is set comment
func IsSetStmt(stmt ast.StmtNode) bool {
_, ok := stmt.(*ast.SetStmt)
if !ok {
return false
}

return true
return ok
}

// CreateUnshardPlan constructor of UnshardPlan
Expand Down
Loading