lxfeng1997 commented on code in PR #1039:
URL: 
https://github.com/apache/incubator-seata-go/pull/1039#discussion_r2748765937


##########
pkg/datasource/sql/conn_at.go:
##########
@@ -122,7 +164,7 @@ func (c *ATConn) createOnceTxContext(ctx context.Context) 
bool {
        return onceTx
 }
 
-func (c *ATConn) createNewTxOnExecIfNeed(ctx context.Context, f func() 
(types.ExecResult, error)) (types.ExecResult, error) {
+func (c *ATConn) createNewTxOnExecIfNeed(ctx context.Context, isQuery bool, f 
func() (types.ExecResult, error)) (types.ExecResult, error) {

Review Comment:
   I suggest defining a new function instead of adding a parameter. 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to