Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

*: clear delta info when roll back transaction #5390

Merged
merged 2 commits into from Dec 13, 2017

Conversation

alivxxx
Copy link
Contributor

@alivxxx alivxxx commented Dec 13, 2017

@hanfei1991
Copy link
Member

LGTM

@shenli
Copy link
Member

shenli commented Dec 13, 2017

You should clean the delta data in session.go. https://github.com/pingcap/tidb/blob/master/session.go#L389

@alivxxx
Copy link
Contributor Author

alivxxx commented Dec 13, 2017

It is already cleaned when we PrepareTxnCtx. @shenli

@alivxxx alivxxx added the type/bug-fix This PR fixes a bug. label Dec 13, 2017
@coocood
Copy link
Member

coocood commented Dec 13, 2017

LGTM

@coocood
Copy link
Member

coocood commented Dec 13, 2017

/run-all-tests

@alivxxx alivxxx added the status/LGT2 Indicates that a PR has LGTM 2. label Dec 13, 2017
@alivxxx alivxxx merged commit 713bc79 into pingcap:master Dec 13, 2017
@alivxxx alivxxx deleted the rollback branch December 13, 2017 07:35
alivxxx added a commit to alivxxx/tidb that referenced this pull request Dec 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status/LGT2 Indicates that a PR has LGTM 2. type/bug-fix This PR fixes a bug.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants