From 3f25f5ef82986f5682e1cf0504c330666d8eec09 Mon Sep 17 00:00:00 2001 From: qingxinhome <758355272@qq.com> Date: Tue, 17 Dec 2024 09:39:16 +0800 Subject: [PATCH] delete unused code --- pkg/sql/plan/order_binder.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/sql/plan/order_binder.go b/pkg/sql/plan/order_binder.go index 18a6cb3ab1e14..7c7e75455640b 100644 --- a/pkg/sql/plan/order_binder.go +++ b/pkg/sql/plan/order_binder.go @@ -38,7 +38,7 @@ func (b *OrderBinder) BindExpr(astExpr tree.Expr) (*plan.Expr, error) { for _, selectField := range b.ctx.projectByAst { if selectField.aliasName != "" { continue - }// deptno + } if projectField, ok1 := selectField.ast.(*tree.UnresolvedName); ok1 && projectField.ColName() == colRef.ColName() { return nil, moerr.NewInvalidInputf(b.GetContext(), "Column '%s' in order clause is ambiguous", colRef.ColName()) }