Changes between Initial Version and Version 1 of Ticket #7157, comment 4


Ignore:
Timestamp:
2013-12-14T21:45:36+01:00 (10 years ago)
Author:
skyper

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #7157, comment 4

    initial v1  
    1313So a first solution is to sort the delete of relation from top to down: first delete relations, which are NOT member of an other relation which will also be deleted.
    1414
    15 But an extreme case show, that sorting will not help in all cases: if r1 is member of r2 and r2 is member of r1
     15But an extreme case show, that sorting will not help in all cases: if !r1 is member of !r2 and !r2 is member of !r1
    1616
    1717So deleting all relations which have circular references will be impossible in a single changeset. In this case we need first to update a relation excluding all members, and then delete the relations in the sorted way described above.