Browse Source

Merge pull request #99 from jacky-pony/main

translate
pull/104/head
yedf2 4 years ago
committed by GitHub
parent
commit
6283f0e4ef
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      bench/http.go
  2. 4
      dtmcli/dtmimp/db_special.go

4
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

4
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": "",

Loading…
Cancel
Save