🎨 数据库事务队列执行报错回滚释放连接

This commit is contained in:
Liang Ding 2023-02-07 10:40:24 +08:00
parent 209a853040
commit c5c9884d38
No known key found for this signature in database
GPG key ID: 136F30F901A2231D

View file

@ -120,7 +120,7 @@ func FlushQueue() {
if err = execOp(op, tx, context); nil != err {
tx.Rollback()
logging.LogErrorf("queue operation failed: %s", err)
return
continue
}
if err = commitTx(tx); nil != err {