From b0d8d4bef8c1671cc6495486999ee9efe868ed28 Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Fri, 17 May 2024 01:43:19 +0800 Subject: [PATCH] Update index.py --- plugins/mysql/index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/mysql/index.py b/plugins/mysql/index.py index b454dcfb4..759ace24d 100755 --- a/plugins/mysql/index.py +++ b/plugins/mysql/index.py @@ -3205,7 +3205,7 @@ def syncDatabaseRepair(version=''): # print(local_inquery_sql) ldata = local_db.query(local_inquery_sql) print('ldata:',ldata) - if len(tdata) == 0: + if len(ldata) == 0: print("id:"+ str(insert_data[pkey_name])+ " no exists, insert") insert_sql = 'insert into ' + table_name field_str = ''