Skip to content

Commit

Permalink
sql: replace references to cockroachdb#2115 by cockroachdb#32552
Browse files Browse the repository at this point in the history
Release note: None
  • Loading branch information
knz committed Nov 22, 2018
1 parent 2d41b42 commit 5b4473f
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 @@ -3411,7 +3411,7 @@ func (expr *IndirectionExpr) Eval(ctx *EvalContext) (Datum, error) {
return nil, pgerror.UnimplementedWithIssueErrorf(32551, "ARRAY slicing in %s", expr)
}
if i > 0 {
return nil, pgerror.UnimplementedWithIssueErrorf(2115, "multidimensional ARRAY %s", expr)
return nil, pgerror.UnimplementedWithIssueErrorf(32552, "multidimensional ARRAY %s", expr)
}

d, err := t.Begin.(TypedExpr).Eval(ctx)
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 @@ -477,7 +477,7 @@ func (expr *IndirectionExpr) TypeCheck(ctx *SemaContext, desired types.T) (Typed
return nil, pgerror.UnimplementedWithIssueErrorf(32551, "ARRAY slicing in %s", expr)
}
if i > 0 {
return nil, pgerror.UnimplementedWithIssueErrorf(2115, "multidimensional ARRAY %s", expr)
return nil, pgerror.UnimplementedWithIssueErrorf(32552, "multidimensional ARRAY %s", expr)
}

beginExpr, err := typeCheckAndRequire(ctx, t.Begin, types.Int, "ARRAY subscript")
Expand Down

0 comments on commit 5b4473f

Please sign in to comment.