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

infoschema: remove the inspection_schema #15296

Merged
merged 6 commits into from
Mar 12, 2020
Merged

infoschema: remove the inspection_schema #15296

merged 6 commits into from
Mar 12, 2020

Conversation

lonng
Copy link
Contributor

@lonng lonng commented Mar 11, 2020

Signed-off-by: Lonng heng@lonng.org

What problem does this PR solve?

This PR removes the inspection_schema and implements the inspection cache table in information_schame directly. It's a mistake of introducing the inspection_schema and we have found another to correct it in time.

What is changed and how it works?

Will return the cached rows if the SQL in inspection mode.

Check List

Tests

  • Unit test
  • Integration test

Release note

  • No need

@lonng lonng requested a review from a team as a code owner March 11, 2020 13:40
@ghost ghost requested review from qw4990 and XuHuaiyu and removed request for a team March 11, 2020 13:40
@github-actions github-actions bot added sig/sql-infra SIG: SQL Infra sig/execution SIG execution labels Mar 11, 2020
Signed-off-by: Lonng <heng@lonng.org>
@codecov
Copy link

codecov bot commented Mar 11, 2020

Codecov Report

Merging #15296 into master will decrease coverage by 0.0199%.
The diff coverage is 88.2352%.

@@              Coverage Diff               @@
##             master     #15296      +/-   ##
==============================================
- Coverage   80.3483%   80.3284%   -0.02%     
==============================================
  Files           503        502       -1     
  Lines        133144     133121      -23     
==============================================
- Hits         106979     106934      -45     
- Misses        17740      17759      +19     
- Partials       8425       8428       +3

@lonng
Copy link
Contributor Author

lonng commented Mar 11, 2020

/run-all-tests tidb-test=pr/1001

lonng added 4 commits March 11, 2020 22:25
Signed-off-by: Lonng <heng@lonng.org>
Signed-off-by: Lonng <heng@lonng.org>
Signed-off-by: Lonng <heng@lonng.org>
@reafans
Copy link
Contributor

reafans commented Mar 12, 2020

Great!LGTM

@reafans reafans added the status/LGT1 Indicates that a PR has LGTM 1. label Mar 12, 2020
@lonng
Copy link
Contributor Author

lonng commented Mar 12, 2020

/rebuild

Copy link
Contributor

@crazycs520 crazycs520 left a comment

Choose a reason for hiding this comment

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

LGTM

@lonng lonng closed this Mar 12, 2020
@lonng lonng reopened this Mar 12, 2020
Signed-off-by: Lonng <heng@lonng.org>
@lonng
Copy link
Contributor Author

lonng commented Mar 12, 2020

/run-all-tests tidb-test=pr/1001

@lonng lonng merged commit 45d83d1 into pingcap:master Mar 12, 2020
@lonng lonng deleted the remove-inspection-schema branch March 12, 2020 03:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/infoschema sig/execution SIG execution sig/sql-infra SIG: SQL Infra status/LGT1 Indicates that a PR has LGTM 1.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants