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

--- Comment #14 from Jan van Bekkum <[email protected]> ---
Hi Mike,

Thanks for your feedback!

Is there any possibility to repair the database instead of building a new
one?

Met vriendelijke groet/with kind regards,

*Jan van Bekkum*



On Sat, 22 Aug 2026 at 21:54, Maik Qualmann <[email protected]>
wrote:

> https://bugs.kde.org/show_bug.cgi?id=524231
>
> --- Comment #13 from Maik Qualmann <[email protected]> ---
> Both images are identical; no tags were deleted, because your database is
> corrupted. We won't be able to fix that from here—start with a new
> database.
>
> digikam.dbengine: Error while executing DBAction [ "DeleteTag" ] Statement
> [
> "DELETE FROM Tags WHERE id=:tagID;" ]
> digikam.dbengine: Failure executing query:      "DELETE FROM Tags WHERE
> id=?;"
>
> Error messages: "QMYSQL: Unable to execute statement" "Cannot delete or
> update
> a parent row: a foreign key constraint fails
> (`digikam`.`imagetagproperties`,
> CONSTRAINT `ImageTagProperties_Tags` FOREIGN KEY (`tagid`) REFERENCES
> `tags`
> (`id`) ON DELETE CASCADE ON UPDATE CASCADE)" "1451" 2
>
> Maik
>
> --
> You are receiving this mail because:
> You reported the bug.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to