From ac55013774cee5613ae476be01e96a22337ead97 Mon Sep 17 00:00:00 2001 From: peter Date: Sun, 19 Dec 2021 09:14:54 +0800 Subject: [PATCH] remove func TimestampAdd --- dtmcli/dtmimp/db_special.go | 4 ---- 1 file changed, 4 deletions(-) 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": "",