| Summary: | Thumbnails does not get saved for videofiles over 2^32b, mysql | ||
|---|---|---|---|
| Product: | [Applications] digikam | Reporter: | bugskdeorg.20.dimon3000 |
| Component: | Database-Thumbs | Assignee: | Digikam Developers <digikam-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | metzpinguin |
| Priority: | NOR | ||
| Version First Reported In: | 6.1.0 | ||
| Target Milestone: | --- | ||
| Platform: | Appimage | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | 6.2.0 | |
| Sentry Crash Report: | |||
|
Description
bugskdeorg.20.dimon3000
2019-04-27 00:17:43 UTC
Might be a cause of
> Digikam::BdEngineBackendPrivate::debugOutputFailedQuery: Failure executing query:
> "REPLACE INTO UniqueHashes (uniqueHash, fileSize, thumbId) VALUES (?,?,?);"
> Error messages: "QMYSQL3: Unable to execute statement" "Lock wait timeout exceeded; try restarting transaction" 1205 2
>Bound values: (QVariant(QString, "2fbd622f4c85df48005344b74f8a50ab"), QVariant(qlonglong, 16648304), QVariant(int, 183543))
This problem has been fixed for a long time in the database schema. We already use BIGINT. But we do not do a database update for the thumbnail DB. Delete the thumbnail DB and start with a new one, it will be recreated automatically when digiKam starts. It is also useful to migrate the Core DB with the migration tool to a new DB. Maik |