Skip to content

Commit

Permalink
Fix misorganized annotations (#15566)
Browse files Browse the repository at this point in the history
Signed-off-by: crazeteam <[email protected]>
Signed-off-by: Matt Lord <[email protected]>
Co-authored-by: Matt Lord <[email protected]>
  • Loading branch information
crazeteam and mattlord authored Mar 26, 2024
1 parent bec2180 commit 37e5c4a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions go/vt/wrangler/vexec_plan.go
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ func (vx *vexec) buildUpdatePlan(ctx context.Context, planner vexecPlanner, upd
}, nil
}

// buildUpdatePlan builds a plan for a DELETE query
// buildDeletePlan builds a plan for a DELETE query
func (vx *vexec) buildDeletePlan(ctx context.Context, planner vexecPlanner, del *sqlparser.Delete) (*vexecPlan, error) {
if del.Targets != nil {
return nil, fmt.Errorf("unsupported construct: %v", sqlparser.String(del))
Expand Down Expand Up @@ -330,7 +330,7 @@ func (vx *vexec) buildInsertPlan(ctx context.Context, planner vexecPlanner, ins
}, nil
}

// buildUpdatePlan builds a plan for a SELECT query
// buildSelectPlan builds a plan for a SELECT query
func (vx *vexec) buildSelectPlan(ctx context.Context, planner vexecPlanner, sel *sqlparser.Select) (*vexecPlan, error) {
sel.Where = vx.addDefaultWheres(planner, sel.Where)
buf := sqlparser.NewTrackedBuffer(nil)
Expand Down

0 comments on commit 37e5c4a

Please sign in to comment.