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

support case-insensitive LIKE for show status/variables #2420

Merged
merged 3 commits into from
Mar 28, 2024
Merged

Conversation

jycor
Copy link
Contributor

@jycor jycor commented Mar 28, 2024

MySQL stores session and global variables in a performance_schema database, and these tables have a case-insensitive collation on the variable names.

This PR emulates that behavior by hard coding the collation the schemas for ShowStatus and ShowVariables nodes.

Copy link
Contributor

@fulghum fulghum left a comment

Choose a reason for hiding this comment

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

Looks good! 🚢

@jycor jycor merged commit 6bd8beb into main Mar 28, 2024
7 checks passed
@jycor jycor deleted the james/case branch March 28, 2024 20:23
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