Conversation
Support query like: set a=a+1
Make sure we do not retry "select for update statement"
Support query like: set a=a+1
Make sure we do not retry "select for update statement"
Conflicts: sessionctx/forupdate/for_update_ctx.go
Member
|
It seems like "ForUpdate" is never reset. If user executed an "FoUpdate" transaction, then the following transactions would be always "ForUpdate". |
Reset statement history
Member
Author
|
PTAL |
session.go
Outdated
Fix add unique key
Remove unused methods
Member
|
LGTM |
1 similar comment
Member
|
LGTM |
shenli
added a commit
that referenced
this pull request
Sep 9, 2015
Retry transaction without for update
YuJuncen
pushed a commit
to YuJuncen/tidb
that referenced
this pull request
Apr 23, 2021
* *: replaced juju/errors by pingcap/errors and use builtin context package * vendor: update tidb to v2.1.0-rc.3 and update its dependencies * vendor: update the rest of the direct dependencies * license: added commercial license * vendor: update TiDB and PD to v2.1.0-rc.4 Removed the goyacc step since the parser has been moved out. For now we rely on `git checkout` to recover the parser until v3.0.0-alpha is tagged * tests: reduce the number of max-open-files used by tikv-server Jenkin's open file limit is somehow reduced to 65536, and the default tikv requirement is 40960*2+1000 = 82920, causing CI failing to start the integration tests. Here we reduce the number to 4096*2+1000 = 9192 via explicit config. * license: fix the year range
YuJuncen
pushed a commit
to YuJuncen/tidb
that referenced
this pull request
Apr 23, 2021
Signed-off-by: Neil Shen <overvenus@gmail.com>
xhebox
pushed a commit
to xhebox/tidb
that referenced
this pull request
Sep 28, 2021
xhebox
pushed a commit
to xhebox/tidb
that referenced
this pull request
Oct 8, 2021
ti-chi-bot
pushed a commit
that referenced
this pull request
Oct 9, 2021
Defined2014
added a commit
to Defined2014/tidb
that referenced
this pull request
Apr 28, 2022
…onModifyColumn` func (pingcap#79)
iosmanthus
pushed a commit
to iosmanthus/tidb
that referenced
this pull request
Oct 31, 2022
Signed-off-by: ystaticy <y_static_y@sina.com>
nolouch
pushed a commit
to tidblabs/tidb
that referenced
this pull request
Jan 6, 2023
…ap#144 into keyspace on release 6.4 (pingcap#161) * Merge PR pingcap#78,pingcap#79,pingcap#82,pingcap#83,pingcap#86,pingcap#144 into keyspace on release 6.4 Signed-off-by: zeminzhou <zhouzemin@pingcap.com> * make check Signed-off-by: zeminzhou <zhouzemin@pingcap.com> * make check Signed-off-by: zeminzhou <zhouzemin@pingcap.com> * fix error Signed-off-by: zeminzhou <zhouzemin@pingcap.com> * fix comment Signed-off-by: zeminzhou <zhouzemin@pingcap.com> * make check Signed-off-by: zeminzhou <zhouzemin@pingcap.com> Signed-off-by: zeminzhou <zhouzemin@pingcap.com>
crazycs520
pushed a commit
that referenced
this pull request
Oct 13, 2025
https://e.gitee.com/pingcap_enterprise/repos/pingcap_enterprise/tidb/pulls/378 Co-authored-by: joccau <zak.zhao@pingcap.cn> Reviewed-on: https://git.pingcap.net/pingkai/tidb/pulls/79 Reviewed-by: wink.yao <wink.yao@pingcap.cn> Co-authored-by: tianyuan <tianyuan@pingcap.cn> Co-committed-by: tianyuan <tianyuan@pingcap.cn>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.