Skip to content

Commit

Permalink
refactor: removed unneccessary code
Browse files Browse the repository at this point in the history
Signed-off-by: Andres Taylor <[email protected]>
  • Loading branch information
systay committed Nov 28, 2024
1 parent bbc97ff commit 2792a28
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions go/vt/vtgate/semantics/analyzer.go
Original file line number Diff line number Diff line change
Expand Up @@ -467,10 +467,6 @@ func (a *analyzer) noteQuerySignature(node sqlparser.SQLNode) {
a.sig.Aggregation = true
case *sqlparser.Delete, *sqlparser.Update, *sqlparser.Insert:
a.sig.DML = true
case *sqlparser.FuncExpr:
if len(node.Exprs) == 1 && node.Name.EqualString("last_insert_id") {
a.sig.LastInsertIDArg = true
}
}
}

Expand Down

0 comments on commit 2792a28

Please sign in to comment.