Skip to content

Conversation

@a4duzhiming
Copy link
Contributor

optimize(memory): DeleteAllVariableData add rollback log

defer func() {
if err != nil {
tx.Rollback()
if e := tx.Rollback(); e != nil {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

不打印是不是也没有什么问题,数据提交失败了。 Rollback 成功与否也没那么重要了?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants