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

@@ -83,12 +83,6 @@ class Fingerprint(GenericFingerprint):
if not conf.extensiveFp and (Backend.isDbmsWithin(HSQLDB_ALIASES) \
or (conf.dbms or "").lower() in HSQLDB_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.HSQLDB, Backend.getVersion()))
if Backend.isVersionGreaterOrEqualThan("1.7.2"):