https://bugs.kde.org/show_bug.cgi?id=320666
--- Comment #36 from Mario Frank <mario.fr...@uni-potsdam.de> --- (In reply to Simon from comment #35) > I use internal mysql and the images are not (exclusively) identical ones > (range 30-100% gives all kinds of "similar" pictures as is to be expected). > > I added your snippet and it produces 0/1 outputs like this: > digikam.database: Similarity of image 77839 in imageLister: 0 > digikam.database: Similarity of image 77845 in imageLister: 1 Okay, I have found the evil thing. On SQLite, my solution works. I return the similarity as constant in the select statement. But in MySQL the Query I created is not stable. It seems that the double was cast to integer in the database. Thus, the results are wrong. Can you replace the imagelister.cpp with my new one? The new solution still works under SQLite. -- You are receiving this mail because: You are watching all bug changes.