diff --git a/plugins/mysql-apt/index.py b/plugins/mysql-apt/index.py index 06925df35..7aa21e32c 100755 --- a/plugins/mysql-apt/index.py +++ b/plugins/mysql-apt/index.py @@ -251,6 +251,12 @@ def getDataDir(): tmp = re.search(rep, content) return tmp.groups()[0].strip() +def getLogBinName(): + file = getConf() + content = mw.readFile(file) + rep = 'log-bin\s*=\s*(.*)' + tmp = re.search(rep, content) + return tmp.groups()[0].strip() def getPidFile(): file = getConf()