Minor update

This commit is contained in:
Miroslav Stampar
2025-09-14 13:25:08 +02:00
parent e87521de11
commit f79e774d31
4 changed files with 9 additions and 8 deletions

View File

@@ -45,14 +45,15 @@ class Fingerprint(GenericFingerprint):
# Reference: https://dev.mysql.com/doc/relnotes/mysql/<major>.<minor>/en/
versions = (
(90300, 90302), # MySQL 9.3
(90200, 90202), # MySQL 9.2
(90100, 90102), # MySQL 9.1
(90000, 90002), # MySQL 9.0
(80400, 80405), # MySQL 8.4
(80400, 80406), # MySQL 8.4
(80300, 80302), # MySQL 8.3
(80200, 80202), # MySQL 8.2
(80100, 80102), # MySQL 8.1
(80000, 80041), # MySQL 8.0
(80000, 80043), # MySQL 8.0
(60000, 60014), # MySQL 6.0
(50700, 50745), # MySQL 5.7
(50600, 50652), # MySQL 5.6

View File

@@ -141,7 +141,7 @@ class Fingerprint(GenericFingerprint):
Backend.setVersion(">= 15.0")
elif inject.checkBooleanExpression("BIT_COUNT(NULL) IS NULL"):
Backend.setVersion(">= 14.0")
elif inject.checkBooleanExpression("GEN_RANDOM_UUID() IS NOT NULL"):
elif inject.checkBooleanExpression("NULL::anycompatible IS NULL"):
Backend.setVersion(">= 13.0")
elif inject.checkBooleanExpression("SINH(0)=0"):
Backend.setVersion(">= 12.0")