[AppDB] - deletion order is broken for versions and applications

Chris Morgan cmorgan at alum.wpi.edu
Wed Jun 29 20:58:55 CDT 2005


include/version.php, application.php
Chris Morgan <cmorgan at alum.wpi.edu>
When deleting a version or application the first thing deleted was the version 
or application.  Then each of the sub-objects like comments, notes etc were 
deleted.  This order is bad because it makes the database inconsistent, we 
never want a comment/note/etc for a version that doesn't exist.  Delete the 
sub objects first and then the parent object.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix_delete_application_version.patch
Type: text/x-diff
Size: 5603 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20050629/d2310048/fix_delete_application_version.bin


More information about the wine-patches mailing list