Skip to content

Commit 5487a77

Browse files
authored
Fix spelling in error message s/prodecure/procedure
1 parent b3a4c87 commit 5487a77

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sql/planbuilder/select.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ func (b *Builder) buildOffset(inScope *scope, limit *ast.Limit) sql.Expression {
149149
}
150150

151151
// buildLimitVal resolves a literal numeric type or a numeric
152-
// prodecure parameter
152+
// procedure parameter
153153
func (b *Builder) buildLimitVal(inScope *scope, e ast.Expr) sql.Expression {
154154
switch e := e.(type) {
155155
case *ast.ColName:
@@ -165,7 +165,7 @@ func (b *Builder) buildLimitVal(inScope *scope, e ast.Expr) sql.Expression {
165165
}
166166
}
167167
}
168-
err := fmt.Errorf("limit expression expected to be numeric or prodecure parameter, found invalid column: %s", e.String())
168+
err := fmt.Errorf("limit expression expected to be numeric or procedure parameter, found invalid column: %s", e.String())
169169
b.handleErr(err)
170170
default:
171171
l := b.buildScalar(inScope, e)

0 commit comments

Comments
 (0)