Skip to content

parser: Add FLUSH CLIENT_ERRORS_SUMMARY#1081

Closed
ghost wants to merge 4 commits intomasterfrom
unknown repository
Closed

parser: Add FLUSH CLIENT_ERRORS_SUMMARY#1081
ghost wants to merge 4 commits intomasterfrom
unknown repository

Conversation

@ghost
Copy link

@ghost ghost commented Nov 9, 2020

What problem does this PR solve?

This adds the statement FLUSH CLIENT_ERRORS_SUMMARY for pingcap/tidb#20785

This is a TiDB extension to syntax. The client errors summary is implemented as an infoschema table (infoschema is read only), and loosely modeled on what are performance_schema tables in MySQL. In MySQL resetting is performed via a TRUNCATE TABLE statement.

What is changed and how it works?

New SQL syntax specific to TiDB.

Check List

Tests

  • Unit test

Code changes

  • Has exported variable/fields change

Side effects

  • Increased code complexity

Related changes

@ghost ghost changed the title Add FLUSH CLIENT_ERRORS_SUMMARY parser: Add FLUSH CLIENT_ERRORS_SUMMARY Nov 10, 2020
@morgo morgo closed this Mar 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant