We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3cef25e commit 9621736Copy full SHA for 9621736
cmd/go-sysbench/main.go
@@ -45,13 +45,14 @@ func main() {
45
command := args[1]
46
47
bench, err := benchmarkFactory(testname, &opts.BenchmarkOpts)
48
- r := sysbench.NewRunner(&opts.RunnerOpts, bench)
49
50
if err != nil {
51
fmt.Println(err)
52
os.Exit(1)
53
}
54
+ r := sysbench.NewRunner(&opts.RunnerOpts, bench)
55
+
56
if command == "run" {
57
err = r.Run()
58
} else if command == "prepare" {
cmd/go-sysbench/oltpbench.go
@@ -723,4 +723,3 @@ func (o *OLTPBench) createTable() error {
723
724
return nil
725
726
-
0 commit comments