Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
qw4990 committed Apr 20, 2023
1 parent 106ae56 commit ee4fb29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion planner/core/plan_cache_param.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ func (pr *paramReplacer) Leave(in ast.Node) (out ast.Node, ok bool) {
}

func (pr *paramReplacer) Reset() {
pr.params = nil
pr.params = make([]*driver.ValueExpr, 0, 4)
}

// GetParamSQLFromAST returns the parameterized SQL of this AST.
Expand Down

0 comments on commit ee4fb29

Please sign in to comment.