From 8919d5734e07491fe96bb7bffe80a821b2aa709c Mon Sep 17 00:00:00 2001 From: midoks Date: Thu, 16 Feb 2023 14:15:15 +0800 Subject: [PATCH] Update index.py --- plugins/mysql/index.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/mysql/index.py b/plugins/mysql/index.py index e6ac0425e..d5875f45f 100755 --- a/plugins/mysql/index.py +++ b/plugins/mysql/index.py @@ -2414,10 +2414,12 @@ def initSlaveStatusSyncUser(version=''): if u['cmd'] == '' and local_mode == 'gtid': sql = makeSyncUsercmd(u, version) + # print(sql) t = db.query(sql) else: if u['cmd'] == '': return mw.returnJson(False, '经典模式下,必须手写同步命令!') + # print(u['cmd']) t = db.query(u['cmd']) isError = isSqlError(t) if isError: