Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
midoks committed Jul 3, 2024
1 parent cdaf64b commit 8134c3c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
6 changes: 3 additions & 3 deletions plugins/mysql-apt/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -509,10 +509,10 @@ def my8cmd(version, method):
mdb8 = getMdb8Ver()
try:
isInited = True
if version == '5.7':
isInited = initMysql57Data()
elif mw.inArray(mdb8, version):
if mw.inArray(mdb8, version):
isInited = initMysql8Data()
else:
isInited = initMysql57Data()

if not isInited:
if not mw.isSupportSystemctl():
Expand Down
6 changes: 3 additions & 3 deletions plugins/mysql-yum/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -512,10 +512,10 @@ def my8cmd(version, method):
mdb8 = getMdb8Ver()
try:
isInited = True
if version == '5.7':
isInited = initMysql57Data()
elif mw.inArray(mdb8, version):
if mw.inArray(mdb8, version):
isInited = initMysql8Data()
else:
isInited = initMysql57Data()

if not isInited:
if not mw.isSupportSystemctl():
Expand Down
1 change: 1 addition & 0 deletions plugins/mysql/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -619,6 +619,7 @@ def my8cmd(version, method):
cmd = init_file + ' ' + method
mdb8 = getMdb8Ver()
try:
isInited = True
if mw.inArray(mdb8, version):
isInited = initMysql8Data()
else:
Expand Down

0 comments on commit 8134c3c

Please sign in to comment.