From 37e5c4ac9b1b93e1e363cb8470ecedc2b80c195d Mon Sep 17 00:00:00 2001 From: crazeteam <164632007+crazeteam@users.noreply.github.com> Date: Wed, 27 Mar 2024 01:08:21 +0800 Subject: [PATCH] Fix misorganized annotations (#15566) Signed-off-by: crazeteam Signed-off-by: Matt Lord Co-authored-by: Matt Lord --- go/vt/wrangler/vexec_plan.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/go/vt/wrangler/vexec_plan.go b/go/vt/wrangler/vexec_plan.go index e9ea1daf5c3..1878c25441c 100644 --- a/go/vt/wrangler/vexec_plan.go +++ b/go/vt/wrangler/vexec_plan.go @@ -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)) @@ -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)