Skip to content

Commit 438edcd

Browse files
hawkingreiti-chi-bot
authored andcommitted
This is an automated cherry-pick of pingcap#45177
Signed-off-by: ti-chi-bot <[email protected]>
1 parent 9d4f30d commit 438edcd

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

executor/analyze.go

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,13 @@ import (
1919
"context"
2020
"fmt"
2121
"math"
22+
<<<<<<< HEAD
2223
"math/rand"
2324
"runtime"
2425
"sort"
26+
=======
27+
"net"
28+
>>>>>>> db381848680 (statistic: improve ipv6 for analyze job meta (#45177))
2529
"strconv"
2630
"strings"
2731
"sync"
@@ -387,7 +391,11 @@ func (e *AnalyzeIndexExec) fetchAnalyzeResult(ranges []*ranger.Range, isNullRang
387391
if e.isCommonHandle && e.idxInfo.Primary {
388392
kvReqBuilder = builder.SetHandleRangesForTables(e.ctx.GetSessionVars().StmtCtx, []int64{e.tableID.GetStatisticsID()}, true, ranges, nil)
389393
} else {
394+
<<<<<<< HEAD
390395
kvReqBuilder = builder.SetIndexRangesForTables(e.ctx.GetSessionVars().StmtCtx, []int64{e.tableID.GetStatisticsID()}, e.idxInfo.ID, ranges)
396+
=======
397+
instance = net.JoinHostPort(serverInfo.IP, strconv.Itoa(int(serverInfo.Port)))
398+
>>>>>>> db381848680 (statistic: improve ipv6 for analyze job meta (#45177))
391399
}
392400
kvReqBuilder.SetResourceGroupTag(e.ctx.GetSessionVars().StmtCtx)
393401
kvReq, err := kvReqBuilder.

0 commit comments

Comments
 (0)