diff --git a/bench/http.go b/bench/http.go index f9a03c7..8a6a470 100644 --- a/bench/http.go +++ b/bench/http.go @@ -21,9 +21,9 @@ import ( "github.com/yedf/dtm/examples" ) -// 启动命令:go run app/main.go qs +// launch command:go run app/main.go qs -// 事务参与者的服务地址 +// service address of the transcation const benchAPI = "/api/busi_bench" const benchPort = 8083 const total = 200000 diff --git a/dtmcli/dtmimp/db_special.go b/dtmcli/dtmimp/db_special.go index d45f460..b4db7fc 100644 --- a/dtmcli/dtmimp/db_special.go +++ b/dtmcli/dtmimp/db_special.go @@ -41,10 +41,6 @@ func init() { type postgresDBSpecial struct{} -func (*postgresDBSpecial) TimestampAdd(second int) string { - return fmt.Sprintf("current_timestamp + interval '%d second'", second) -} - func (*postgresDBSpecial) GetXaSQL(command string, xid string) string { return map[string]string{ "end": "",