[Digikam-devel] [digikam] [Bug 363697] Album visible even after deletion

via KDE Bugzilla bugzilla_noreply at kde.org
Thu Jun 23 14:36:05 BST 2016


https://bugs.kde.org/show_bug.cgi?id=363697

--- Comment #10 from swatilodha27 at gmail.com ---
Johannes,

Your second solution seems to fit here. Temporary disabling referential
constraints might work 'cause we've parent-child tables. 

In the function makeStaleAlbum(), there's an update query which doesn't work.
(Reason why Albums table is not updated)
We could use:
//
SET FOREIGN_KEY_CHECKS = 0;
UPDATE.....
SET FOREIGN_KEY_CHECKS = 1;
//
I think this should work...

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Digikam-devel mailing list