Browse Source
Merge pull request #130 from jiahui-97/trans_xa_base
translate trans_xa_base.go for first issue
pull/134/head
yedf2
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
dtmcli/dtmimp/trans_xa_base.go
|
|
|
@ -34,7 +34,7 @@ func (xc *XaClientBase) HandleCallback(gid string, branchID string, action strin |
|
|
|
return err |
|
|
|
} |
|
|
|
|
|
|
|
// HandleLocalTrans http/grpc 处理LocalTransaction的公共方法
|
|
|
|
// HandleLocalTrans public handler of LocalTransaction via http/grpc
|
|
|
|
func (xc *XaClientBase) HandleLocalTrans(xa *TransBase, cb func(*sql.DB) error) (rerr error) { |
|
|
|
xaBranch := xa.Gid + "-" + xa.BranchID |
|
|
|
db, rerr := StandaloneDB(xc.Conf) |
|
|
|
|