File tree Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -17,14 +17,12 @@ package planbuilder
1717import (
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
3028func (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 ]))
You can’t perform that action at this time.
0 commit comments