Skip to content

Commit

Permalink
[ga-format-pr] Run ./format_repo.sh to fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
jycor committed Sep 23, 2024
1 parent 18702a5 commit 68c740a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion server/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ import (
"github.com/dolthub/go-mysql-server/sql/analyzer"
"github.com/dolthub/go-mysql-server/sql/plan"
"github.com/dolthub/go-mysql-server/sql/types"
)
)

// ErrRowTimeout will be returned if the wait for the row is longer than the connection timeout
var ErrRowTimeout = errors.NewKind("row read wait bigger than connection timeout")
Expand Down
3 changes: 1 addition & 2 deletions sql/analyzer/warnings.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ func clearWarnings(ctx *sql.Context, a *Analyzer, node sql.Node, scope *plan.Sco
return node, transform.SameTree, nil
}


// TODO: move this somewhere else
func deferProjections(ctx *sql.Context, a *Analyzer, node sql.Node, scope *plan.Scope, sel RuleSelector, qFlags *sql.QueryFlags) (sql.Node, transform.TreeIdentity, error) {
if !a.ServerMode {
Expand All @@ -61,4 +60,4 @@ func deferProjections(ctx *sql.Context, a *Analyzer, node sql.Node, scope *plan.
return proj, transform.NewTree, nil
}
return node, transform.SameTree, nil
}
}
2 changes: 1 addition & 1 deletion sql/plan/project.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ type Project struct {
UnaryNode
// Expression projected.
Projections []sql.Expression
Deferred bool
Deferred bool
}

var _ sql.Expressioner = (*Project)(nil)
Expand Down

0 comments on commit 68c740a

Please sign in to comment.