Removing ugly legacy code (e.g. showing MySQL 5.0 when it is e.g. '5.7.8')

This commit is contained in:
Miroslav Stampar
2016-06-01 13:47:20 +02:00
parent 5038d7a70a
commit 030df0353d
4 changed files with 1 additions and 17 deletions

View File

@@ -152,12 +152,6 @@ class Fingerprint(GenericFingerprint):
if not conf.extensiveFp and (Backend.isDbmsWithin(MYSQL_ALIASES) \
or (conf.dbms or "").lower() in MYSQL_ALIASES) and Backend.getVersion() and \
Backend.getVersion() != UNKNOWN_DBMS_VERSION:
v = Backend.getVersion().replace(">", "")
v = v.replace("=", "")
v = v.replace(" ", "")
Backend.setVersion(v)
setDbms("%s %s" % (DBMS.MYSQL, Backend.getVersion()))
if Backend.isVersionGreaterOrEqualThan("5"):