mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-23 01:54:01 +08:00
Update index.py
This commit is contained in:
@@ -2325,7 +2325,8 @@ def trySlaveSyncBugfix(version=''):
|
||||
mdb.setPwd(password)
|
||||
mdb.setSocket('')
|
||||
|
||||
var_gtid = mdb.query('show VARIABLES like "%gtid_purged%"')
|
||||
# var_gtid = mdb.query('show VARIABLES like "%gtid_purged%"')
|
||||
var_gtid = mdb.query('select @@global.gtid_current_pos')
|
||||
if len(var_gtid) > 0:
|
||||
gtid_purged += var_gtid[0]['Value'] + ','
|
||||
|
||||
|
||||
Reference in New Issue
Block a user