Skip to content

Commit

Permalink
Update router/qrouter/proxy_routing.go
Browse files Browse the repository at this point in the history
Co-authored-by: Yury Frolov <[email protected]>
  • Loading branch information
reshke and EinKrebs authored Feb 14, 2024
1 parent 598793e commit 62e0b60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion router/qrouter/proxy_routing.go
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ func (qr *ProxyQrouter) RecordShardingColumnValue(meta *RoutingMetadataContext,
}

/* do not process non-distributed relations or columns not from relation distribution key */
if ds, err := qr.Mgr().QDB().GetRelationDistribution(context.TODO(), resolvedRelation.RelationName); err != nil {
if ds, err := qr.Mgr().GetRelationDistribution(context.TODO(), resolvedRelation.RelationName); err != nil {
return
} else {
// TODO: optimize
Expand Down

0 comments on commit 62e0b60

Please sign in to comment.