Update index.py

pull/518/head
Mr Chen 1 year ago
parent bc688aa93f
commit 732363ec41
  1. 6
      plugins/mariadb/index.py

@ -90,6 +90,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()

Loading…
Cancel
Save