mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
Update index.py
This commit is contained in:
@@ -3081,7 +3081,7 @@ def syncDatabaseRepair(version=''):
|
||||
|
||||
# 数据对齐
|
||||
for table_name in inconsistent_table:
|
||||
data_select_sql = 'select * from '+table_name + ' id > 0 limit 1'
|
||||
data_select_sql = 'select * from '+table_name + ' where id > 0 limit 1'
|
||||
local_select_data = local_db.query(data_select_sql)
|
||||
sync_select_data = sync_db.query(data_select_sql)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user