This commit is contained in:
Miroslav Stampar 2015-03-25 23:43:48 +01:00
parent 05a496c275
commit ac74184422

View File

@ -36,6 +36,10 @@ class Takeover(GenericTakeover):
banVer = kb.bannerFp["dbmsVersion"] banVer = kb.bannerFp["dbmsVersion"]
if banVer >= "5.0.67":
logger.info("retrieving MySQL plugin directory absolute path")
self.__basedir = unArrayizeValue(inject.getValue("SELECT @@plugin_dir"))
# On MySQL 5.1 >= 5.1.19 and on any version of MySQL 6.0 # On MySQL 5.1 >= 5.1.19 and on any version of MySQL 6.0
if banVer >= "5.1.19": if banVer >= "5.1.19":
if self.__basedir is None: if self.__basedir is None: