-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
executor: 'select * from information_schema.tables' fail after setting @@tidb_snapshot (#18676) #18692
executor: 'select * from information_schema.tables' fail after setting @@tidb_snapshot (#18676) #18692
Conversation
Signed-off-by: ti-srebot <[email protected]>
/run-all-tests |
PTAL @bb7133 @lzmhhh123 |
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
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
/merge |
Your auto merge job has been accepted, waiting for:
|
/merge |
Your auto merge job has been accepted, waiting for:
|
/run-all-tests |
cherry-pick #18676 to release-4.0
What problem does this PR solve?
Issue Number: close #18347
Problem Summary:
The reproduce steps:
'Table gzj_test_db.ad_account_record_log' doesn't exist
What is changed and how it works?
What's Changed:
getAutoIncrementID
should consider the @@tidb_snapshot variable, useinfoschema.GetInfoSchema(ctx)
How it Works:
Related changes
Check List
Tests
It's not written as an unit test, because the test case depends on TiKV.
Release note