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

--- Comment #2 from [email protected] ---
(In reply to Maik Qualmann from comment #1)
> A few versions ago, we added a new algorithm for generating unique file
> hashes. Duplicate hashes should now be virtually non-existent. Please check
> the digiKam database settings tab to see if there is a button to upgrade to
> the new hash version.
> 
> Maik

I rebuilt the hashes after which the hash is different from before the rebuild.
But all three files still have the same hash.
Before the rebuild:
sqlite> SELECT id, name, uniqueHash FROM Images WHERE id IN (119119, 118948,
118878);
╭────────┬─────────────────────┬──────────────────────────────────╮
│   id            │        name                               │           
uniqueHash                                            │
╞════════╪═════════════════════╪══════════════════════════════════╡
│ 118878    │ Mponjwane.JPG                    │
c7336cb1d42f6073215e4f608505fdff           │
│ 118948    │ 153 - Mponjwane.JPG          │ c7336cb1d42f6073215e4f608505fdff  
        │
│ 119119    │ 136 - Mponjwane.JPG          │ c7336cb1d42f6073215e4f608505fdff  
        │
╰────────┴─────────────────────┴──────────────────────────────────╯

After the rebuild:

sqlite> SELECT id, name, uniqueHash FROM Images WHERE id IN (119119, 118948,
118878);
╭────────┬─────────────────────┬──────────────────────────────────╮
│   id            │        name                              │           
uniqueHash                                             │
╞════════╪═════════════════════╪══════════════════════════════════╡
│ 118878    │ Mponjwane.JPG                    │
e3e622d3b024f47be56d469b6afd95a6        │
│ 118948    │ 153 - Mponjwane.JPG          │ e3e622d3b024f47be56d469b6afd95a6  
     │
│ 119119    │ 136 - Mponjwane.JPG          │ e3e622d3b024f47be56d469b6afd95a6  
     │
╰────────┴─────────────────────┴──────────────────────────────────╯

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

Reply via email to