MCPcopy
hub / github.com/pingcap/tidb / getDBMap

Function getDBMap

br/pkg/restore/log_client/client_test.go:1428–1435  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1426}
1427
1428func getDBMap() map[int64]*stream.DBReplace {
1429 replaces := make(map[int64]*stream.DBReplace)
1430 emptyDB(1, 3000, replaces)
1431 emptyTables(3000, 3001, 8000, replaces)
1432 partitions(8000, 8001, 8002, 12000, replaces)
1433 emptyTables(12000, 12001, 30000, replaces)
1434 return replaces
1435}
1436
1437func TestPITRIDMap(t *testing.T) {
1438 ctx := context.Background()

Callers 3

TestPITRIDMapFunction · 0.85
TestPITRIDMapOnStorageFunction · 0.85

Calls 3

emptyDBFunction · 0.85
emptyTablesFunction · 0.85
partitionsFunction · 0.85

Tested by

no test coverage detected