Bug fix for MySQL fingerprinting (excluding HSQLDB MySQL look-alike)

This commit is contained in:
Miroslav Stampar 2015-10-09 14:17:13 +02:00
parent 41db0e0eea
commit fa4e867035

View File

@ -177,6 +177,14 @@ class Fingerprint(GenericFingerprint):
return False return False
result = inject.checkBooleanExpression("ROUNDMAGIC(NULL) IS NULL")
if result:
warnMsg = "the back-end DBMS is not %s" % DBMS.MYSQL
logger.warn(warnMsg)
return False
# reading information_schema on some platforms is causing annoying timeout exits # reading information_schema on some platforms is causing annoying timeout exits
# Reference: http://bugs.mysql.com/bug.php?id=15855 # Reference: http://bugs.mysql.com/bug.php?id=15855