-
Notifications
You must be signed in to change notification settings - Fork 489
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
*: clean up the deserted syntax of START TRANSACTION READ ONLY #1230
*: clean up the deserted syntax of START TRANSACTION READ ONLY #1230
Conversation
Signed-off-by: JmPotato <[email protected]>
Signed-off-by: JmPotato <[email protected]>
@djshow832 @nolouch PTAL. |
/lgtm |
Mode string | ||
ReadOnly bool | ||
Bound *TimestampBound | ||
CausalConsistencyOnly bool |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this filed do not used?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#1162, looks like no.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After checking the TiDB code, I think this is used. Maybe I shouldn't remove it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nolouch @youjiali1995 I added it back and added more test cases. PTAL.
…t_transaction_syntax
Signed-off-by: JmPotato <[email protected]>
Signed-off-by: JmPotato <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Signed-off-by: JmPotato [email protected]
What problem does this PR solve?
Part of pingcap/tidb#24291 and pingcap/tidb#24813.
What is changed and how it works?
After supporting the
AS OF TIMESTAMP
syntax forSTART TRANSACTION READ ONLY
statement, we need to clean up the remaining deserted syntax.Check List
Tests