Skip to content

Commit 24d877a

Browse files
committed
rm logs
1 parent cb765e0 commit 24d877a

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

sql/planbuilder/select.go

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,12 @@ package planbuilder
1717
import (
1818
"fmt"
1919

20-
ast "github.com/dolthub/vitess/go/vt/sqlparser"
21-
"github.com/sirupsen/logrus"
22-
2320
"github.com/dolthub/go-mysql-server/sql"
2421
"github.com/dolthub/go-mysql-server/sql/expression"
2522
"github.com/dolthub/go-mysql-server/sql/mysql_db"
2623
"github.com/dolthub/go-mysql-server/sql/plan"
2724
"github.com/dolthub/go-mysql-server/sql/types"
25+
ast "github.com/dolthub/vitess/go/vt/sqlparser"
2826
)
2927

3028
func (b *Builder) buildSelectStmt(inScope *scope, s ast.SelectStatement) (outScope *scope) {
@@ -61,13 +59,6 @@ func (b *Builder) buildSelect(inScope *scope, s *ast.Select) (outScope *scope) {
6159
// projections from (4).
6260
// 6) Finish with final target projections.
6361

64-
// Process the Lock field for FOR UPDATE clauses
65-
if s.Lock != "" {
66-
logrus.Info("SELECT statement has Lock field:", s.Lock)
67-
// For now, we'll just log the lock information
68-
// In a full implementation, this would create a lock node
69-
// that would be applied to the final query result
70-
}
7162
fromScope := b.buildFrom(inScope, s.From)
7263
if cn, ok := fromScope.node.(sql.CommentedNode); ok && len(s.Comments) > 0 {
7364
fromScope.node = cn.WithComment(string(s.Comments[0]))

0 commit comments

Comments
 (0)