Skip to content
Snippets Groups Projects
Commit 4952122f authored by Kien Le's avatar Kien Le
Browse files

Fix database deviation from backup not detected

parent 586fe448
No related branches found
No related tags found
1 merge request!354Fix differences from backup database not detected in database editor
Pipeline #4330 passed with stage
in 3 minutes and 23 seconds
......@@ -635,10 +635,6 @@ class UiDBInfoDialog(OneWindowAtATimeDialog):
# Primary key is always the first item in a row
backup_rows = [r for r in self.backup_database_rows
if r[0] == curr_row[0]]
if self.need_data_type_choice:
# data type is one of primary keys
backup_rows = [r for r in backup_rows
if r[-1] == curr_row[-1]]
if backup_rows:
# reset function available when there's backup row
backup_row = backup_rows[0]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment