-
Notifications
You must be signed in to change notification settings - Fork 4k
Closed
Labels
C-bugCode not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.
Description
This complementary issue was addressed on the GetAnnotation
side in #151849.
If the AnnotatedNode.AnnIdx=NoAnnotation (0)
, the adjustment from 1-based indexing to 0-based indexing induces a panic. The upper-bound may also have the same issue the getter had.
tableName := tree.TableName{ObjectName: "foo"}
planner.ResolveExistingObjectEx(ctx, tableName.ToUnresolvedObjectName(), true /* required */, tree.ResolveRequireTableDesc)
Jira issue: CRDB-55425
Metadata
Metadata
Assignees
Labels
C-bugCode not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.