Browse Source
Merge pull request #184 from huanghao9015/main
Update trans_xa_base.go
pull/193/head
yedf2
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
2 additions and
2 deletions
-
dtmcli/dtmimp/trans_xa_base.go
-
main.go
|
|
|
@ -18,7 +18,7 @@ type XaClientBase struct { |
|
|
|
NotifyURL string |
|
|
|
} |
|
|
|
|
|
|
|
// HandleCallback type of commit/rollback callback handler
|
|
|
|
// HandleCallback Handle the callback of commit/rollback
|
|
|
|
func (xc *XaClientBase) HandleCallback(gid string, branchID string, action string) error { |
|
|
|
db, err := StandaloneDB(xc.Conf) |
|
|
|
if err != nil { |
|
|
|
|
|
|
|
@ -58,7 +58,7 @@ func main() { |
|
|
|
return |
|
|
|
} |
|
|
|
config.MustLoadConfig(*confFile) |
|
|
|
conf := config.Config |
|
|
|
conf := &config.Config |
|
|
|
if *isDebug { |
|
|
|
conf.LogLevel = "debug" |
|
|
|
} |
|
|
|
|