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

via KDE Bugzilla bugzilla_noreply at kde.org
Sat Jun 25 07:41:09 BST 2016


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

--- Comment #15 from swatilodha27 at gmail.com ---
Is it possible to already have a "Fake Album" row when the DB is initially
created? 
In the DB schema file, adding a query:
//
INSERT INTO AlbumRoots values(0, "Fake Album Root", 0, 0, NULL, NULL);
//

This way the current UPDATE query in the makeStaleAlbum() would execute without
foreign key constraint failure.

Also, when deleteStaleAlbum() would be called, all those Albums would be
deleted from the DB.
It just need to be take care to include this function in a way that it gets
executed each time when digiKam is started.

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



More information about the Digikam-devel mailing list