Skip to content

Commit

Permalink
ast: add stmtType to ast.Prepared to record metric (#487) (#510)
Browse files Browse the repository at this point in the history
  • Loading branch information
lysu authored and tiancaiamao committed Aug 27, 2019
1 parent 1a31cab commit 7cd3022
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ast/misc.go
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,7 @@ func (n *DeallocateStmt) Accept(v Visitor) (Node, bool) {
// Prepared represents a prepared statement.
type Prepared struct {
Stmt StmtNode
StmtType string
Params []ParamMarkerExpr
SchemaVersion int64
UseCache bool
Expand Down

0 comments on commit 7cd3022

Please sign in to comment.