From 9b985cad5f5bed8f4cbd7e2d27f7e004ce2fe34f Mon Sep 17 00:00:00 2001 From: crazeteam Date: Tue, 26 Mar 2024 12:02:46 +0800 Subject: [PATCH] Fix misorganized annotations Signed-off-by: crazeteam --- 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)