From a233bb32b3b57f4ce036c77ff9d0c977be8d9adb Mon Sep 17 00:00:00 2001 From: Mini256 Date: Wed, 30 Mar 2022 10:52:50 +0800 Subject: [PATCH] fix: fix typo in the bench command --- components/bench/ch_benchmark.go | 2 +- components/bench/tpcc.go | 2 +- components/bench/tpch.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/components/bench/ch_benchmark.go b/components/bench/ch_benchmark.go index 534db84885..067bac915a 100644 --- a/components/bench/ch_benchmark.go +++ b/components/bench/ch_benchmark.go @@ -73,7 +73,7 @@ func executeCH(action string) error { runtime.GOMAXPROCS(maxProcs) if err := openDB(); err != nil { - fmt.Println("Cannot open database, pleae check it (ip/port/username/password)") + fmt.Println("Cannot open database, please check it (ip/port/username/password)") return err } defer closeDB() diff --git a/components/bench/tpcc.go b/components/bench/tpcc.go index d27ac529e0..a9404b1038 100644 --- a/components/bench/tpcc.go +++ b/components/bench/tpcc.go @@ -25,7 +25,7 @@ func executeTpcc(action string) error { runtime.GOMAXPROCS(maxProcs) if err := openDB(); err != nil { - fmt.Println("Cannot open database, pleae check it (ip/port/username/password)") + fmt.Println("Cannot open database, please check it (ip/port/username/password)") closeDB() return err } diff --git a/components/bench/tpch.go b/components/bench/tpch.go index fc95e5fdd1..2283050d8e 100644 --- a/components/bench/tpch.go +++ b/components/bench/tpch.go @@ -13,7 +13,7 @@ var tpchConfig tpch.Config func executeTpch(action string) error { if err := openDB(); err != nil { - fmt.Println("Cannot open database, pleae check it (ip/port/username/password)") + fmt.Println("Cannot open database, please check it (ip/port/username/password)") closeDB() return err }