From 9964745e46f6a8040ccec44b4c0bed20b08933bc Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Fri, 17 May 2024 01:49:11 +0800 Subject: [PATCH] Update index.py --- plugins/mysql/index.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/mysql/index.py b/plugins/mysql/index.py index 5f2e9e104..7a7e40ab9 100755 --- a/plugins/mysql/index.py +++ b/plugins/mysql/index.py @@ -3221,9 +3221,9 @@ def syncDatabaseRepair(version=''): print(r) else: print("compare: ",sync_select_data[idx], local_select_data[idx]) - if ldata[0] == sync_insert_data: + if ldata[0] == sync_idx_data: continue - print("id:"+ str(insert_data[pkey_name])+ " data is not equal, update") + print("id:"+ str(sync_idx_data[pkey_name])+ " data is not equal, update") update_sql = 'update ' + table_name field_str = '' value_str = ''