fix(inputs.mysql): Update MariaDB Dialect regex version check (#13361)

This commit is contained in:
Yannick Binnenweg 2023-05-31 10:09:58 +02:00 committed by GitHub
parent 664d013acb
commit 76889af6f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -274,7 +274,7 @@ const (
EXECUTE IMMEDIATE CONCAT("
SELECT NAME, COUNT
FROM information_schema.INNODB_METRICS
WHERE ", IF(version() REGEXP '10\.[1-4].*',"status='enabled'", "ENABLED=1"), "
WHERE ", IF(version() REGEXP '10\.[1-4]\\..*',"status='enabled'", "ENABLED=1"), "
");
`
perfTableIOWaitsQuery = `