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

Space in stats_mysql_query_digest.digest #4646

Closed
jdlawrie opened this issue Sep 17, 2024 · 1 comment · Fixed by #4648
Closed

Space in stats_mysql_query_digest.digest #4646

jdlawrie opened this issue Sep 17, 2024 · 1 comment · Fixed by #4648

Comments

@jdlawrie
Copy link

Using ProxySQL 2.7.0-11-g3835029 I sometimes get spaces in the digest:

SELECT * FROM workshop_labour_unavailable WHERE Type = 'Workshop' AND Depot = 'STOCK';

Gives a digest of: 0x 6E817ACFD8D15DC

Inserting this into mysql_query_rules results in NULL, causing it to match everything.

Deleting the space works as expected.

renecannao added a commit that referenced this issue Sep 18, 2024
@renecannao renecannao mentioned this issue Sep 18, 2024
@renecannao
Copy link
Contributor

Hi @jdlawrie .
Thank you for the report!

This is going to be fixed in the next release

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 a pull request may close this issue.

2 participants