Skip to content

Commit

Permalink
resolve conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
wshwsh12 committed Jul 7, 2023
1 parent 7ab8cab commit 23cac28
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 15 deletions.
4 changes: 0 additions & 4 deletions executor/jointest/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,7 @@ go_test(
],
flaky = True,
race = "on",
<<<<<<< HEAD:executor/jointest/BUILD.bazel
shard_count = 50,
=======
shard_count = 30,
>>>>>>> af04707eda7 (*: fix data race in ProcessInfo (#45127)):executor/test/indexmergereadtest/BUILD.bazel
deps = [
"//config",
"//meta/autoid",
Expand Down
13 changes: 2 additions & 11 deletions util/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -153,21 +153,12 @@ func GenLogFields(costTime time.Duration, info *ProcessInfo, needTruncateSQL boo
logFields = append(logFields, zap.String("database", info.DB))
}
var tableIDs, indexNames string
<<<<<<< HEAD
if len(info.StmtCtx.TableIDs) > 0 {
tableIDs = strings.Replace(fmt.Sprintf("%v", info.StmtCtx.TableIDs), " ", ",", -1)
logFields = append(logFields, zap.String("table_ids", tableIDs))
}
if len(info.StmtCtx.IndexNames) > 0 {
indexNames = strings.Replace(fmt.Sprintf("%v", info.StmtCtx.IndexNames), " ", ",", -1)
=======
if len(info.TableIDs) > 0 {
tableIDs = strings.ReplaceAll(fmt.Sprintf("%v", info.TableIDs), " ", ",")
tableIDs = strings.Replace(fmt.Sprintf("%v", info.TableIDs), " ", ",", -1)
logFields = append(logFields, zap.String("table_ids", tableIDs))
}
if len(info.IndexNames) > 0 {
indexNames = strings.ReplaceAll(fmt.Sprintf("%v", info.IndexNames), " ", ",")
>>>>>>> af04707eda7 (*: fix data race in ProcessInfo (#45127))
indexNames = strings.Replace(fmt.Sprintf("%v", info.IndexNames), " ", ",", -1)
logFields = append(logFields, zap.String("index_names", indexNames))
}
logFields = append(logFields, zap.Uint64("txn_start_ts", info.CurTxnStartTS))
Expand Down

0 comments on commit 23cac28

Please sign in to comment.