incubator-seata-go icon indicating copy to clipboard operation
incubator-seata-go copied to clipboard

XA ExecContext 没有正确处理 err

Open smiletrl opened this issue 1 year ago • 0 comments

What happened: 当func (c *XAConn) ExecContext, pkg/datasource/sql/conn_xa.go报错时, ret 为空

return ret.GetResult(), nil

会直接panic

What you expected to happen:

How to reproduce it (as minimally and precisely as possible):

Anything else we need to know?:

smiletrl avatar Mar 03 '24 08:03 smiletrl