We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 10e1032 commit fb33a1fCopy full SHA for fb33a1f
cmd/go-tpc/ch_benchmark.go
@@ -116,7 +116,7 @@ func registerCHBenchmark(root *cobra.Command) {
116
}
117
118
func executeCH(action string, openAP func() (*sql.DB, error)) {
119
- if maxProcs == 0 {
+ if maxProcs != 0 {
120
runtime.GOMAXPROCS(maxProcs)
121
122
cmd/go-tpc/tpcc.go
@@ -39,7 +39,7 @@ func executeTpcc(action string) {
39
40
}()
41
42
43
44
45
cmd/go-tpc/tpch.go
@@ -22,7 +22,7 @@ func executeTpch(action string) {
22
util.StdErrLogger.Printf("cannot connect to the database")
23
os.Exit(1)
24
25
26
27
28
0 commit comments