Skip to content

Conversation

@oblitorum
Copy link

@oblitorum oblitorum commented Dec 4, 2022

When generating a fingerprint for an CALL statement with some extra string in the head, it will return a fingerprint of a normal CALL statement, for example, EXPLAIN call test.testCall('test') => call test.testCall, the extra string in the head is missing.

I understand EXPLAIN doesn't support CALL statement, if it only intends to generate fingerprint for vaild SQL, then it should return something else instead of a normal CALL fingerprint. If it intends to generate fingerprint for any SQL that could be logged in slow query log, then I think the patch in this pull request should be merged (or maybe someone has a better idea).

PS: It seems that PMM-2.0 has the same problem

cc @gordan-bobic

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