Skip to content

Commit

Permalink
sql: replace references to cockroachdb#2115 by cockroachdb#32551
Browse files Browse the repository at this point in the history
Release note: None
  • Loading branch information
knz committed Nov 27, 2018
1 parent 8fbb79b commit ba3240d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/sql/sem/tree/eval.go
Original file line number Diff line number Diff line change
Expand Up @@ -3243,7 +3243,7 @@ func (expr *IndirectionExpr) Eval(ctx *EvalContext) (Datum, error) {
var subscriptIdx int
for i, t := range expr.Indirection {
if t.Slice {
return nil, pgerror.UnimplementedWithIssueErrorf(2115, "ARRAY slicing in %s", expr)
return nil, pgerror.UnimplementedWithIssueErrorf(32551, "ARRAY slicing in %s", expr)
}
if i > 0 {
return nil, pgerror.UnimplementedWithIssueErrorf(2115, "multidimensional ARRAY %s", expr)
Expand Down
2 changes: 1 addition & 1 deletion pkg/sql/sem/tree/type_check.go
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ func (expr *CastExpr) TypeCheck(ctx *SemaContext, _ types.T) (TypedExpr, error)
func (expr *IndirectionExpr) TypeCheck(ctx *SemaContext, desired types.T) (TypedExpr, error) {
for i, t := range expr.Indirection {
if t.Slice {
return nil, pgerror.UnimplementedWithIssueErrorf(2115, "ARRAY slicing in %s", expr)
return nil, pgerror.UnimplementedWithIssueErrorf(32551, "ARRAY slicing in %s", expr)
}
if i > 0 {
return nil, pgerror.UnimplementedWithIssueErrorf(2115, "multidimensional ARRAY %s", expr)
Expand Down

0 comments on commit ba3240d

Please sign in to comment.