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

Parser support for FLUSH TABLES statement #334

Merged
merged 5 commits into from
Apr 15, 2024
Merged

Conversation

fulghum
Copy link

@fulghum fulghum commented Apr 15, 2024

Adds parser support for the FLUSH TABLES <tablename_list> [WITH READ LOCK] statement.

Also adds SHOW MASTER STATUS as an alias for SHOW BINARY LOG STATUS for compatibility with clients that use the older syntax (e.g. Debezium).

@fulghum fulghum requested a review from zachmu as a code owner April 15, 2024 18:09
@fulghum fulghum force-pushed the fulghum/com_binlog_prototype branch from 2af5fba to f01b2b7 Compare April 15, 2024 18:19
@fulghum fulghum requested a review from jycor April 15, 2024 18:21
Copy link

@jycor jycor left a comment

Choose a reason for hiding this comment

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

LGTM

go/vt/sqlparser/ast.go Outdated Show resolved Hide resolved
@fulghum fulghum merged commit 5b2c6a9 into main Apr 15, 2024
4 checks passed
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.

2 participants