diff --git a/router/qrouter/proxy_routing.go b/router/qrouter/proxy_routing.go index d04a3e3d0..895c02bd6 100644 --- a/router/qrouter/proxy_routing.go +++ b/router/qrouter/proxy_routing.go @@ -513,8 +513,7 @@ func (qr *ProxyQrouter) deparseShardingMapping( if tlUsable { for i := range offsets { - - qr.RecordDistributionKeyExprOnRFQN(meta, rfqn, insertCols[offsets[i]], targetList[offsets[i]]) + _ = qr.RecordDistributionKeyExprOnRFQN(meta, rfqn, insertCols[offsets[i]], targetList[offsets[i]]) } } @@ -532,7 +531,7 @@ func (qr *ProxyQrouter) deparseShardingMapping( if vlUsable { for i := range offsets { - qr.RecordDistributionKeyExprOnRFQN(meta, rfqn, insertCols[i], valList[offsets[i]]) + _ = qr.RecordDistributionKeyExprOnRFQN(meta, rfqn, insertCols[i], valList[offsets[i]]) } }