Skip to content

Commit

Permalink
remove debug printing
Browse files Browse the repository at this point in the history
Signed-off-by: Andres Taylor <andres@planetscale.com>
  • Loading branch information
systay committed Jan 27, 2025
1 parent 97fa923 commit e4e4715
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions go/vt/sqlparser/normalizer.go
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,6 @@ func newNormalizer(
// walkDown processes nodes when traversing down the AST.
// It handles normalization logic based on node types.
func (nz *normalizer) walkDown(node, _ SQLNode) bool {
fmt.Printf("DOWN %T\n", node)
switch node := node.(type) {
case *Begin, *Commit, *Rollback, *Savepoint, *SRollback, *Release, *OtherAdmin, *Analyze, *AssignmentExpr,
*PrepareStmt, *ExecuteStmt, *FramePoint, *ColName, TableName, *ConvertType:
Expand All @@ -174,8 +173,6 @@ func (nz *normalizer) walkDown(node, _ SQLNode) bool {
}
case *AliasedExpr:
nz.noteAliasedExprName(node)
//case SelectExprs:
// return nz.inDerived == 0
case *ComparisonExpr:
nz.convertComparison(node)
case *UpdateExpr:
Expand Down Expand Up @@ -218,7 +215,6 @@ func (nz *normalizer) noteAliasedExprName(node *AliasedExpr) {
// walkUp processes nodes when traversing up the AST.
// It finalizes normalization logic based on node types.
func (nz *normalizer) walkUp(cursor *Cursor) bool {
fmt.Printf("UP %T\n", cursor.Node())
// Add SET_VAR comments if applicable.
if supportOptimizerHint, supports := cursor.Node().(SupportOptimizerHint); supports {
if nz.setVarComment != "" {
Expand Down

0 comments on commit e4e4715

Please sign in to comment.