No ..

Ideas for improvements and requests for new features in XnView MP

Moderators: helmut, XnTriq, xnview

Post Reply
User avatar
m.Th.
XnThusiast
Posts: 1676
Joined: Wed Aug 16, 2006 6:31 am
Contact:

No ..

Post by m.Th. »

Yes, no .. :) We do NOT need them.

I see in my DB a bunch of entries with 0 bytes in size in the Images table which are, in fact the names of the folders.

Do a...

Code: Select all

Select * from Images where size = 0;
...to see them.

Perhaps this is because together with the other files you catalog the current directory (ie the .. file)?

So, take out the .. file from the catalog.

And what's worse is that when we move / delete the other files these .. files just remain in the DB.

Also, after fixing this, be sure in the next release in the upgrade DB process to have a

Code: Select all

delete from thumbs.datas where imageid in (select imageid from images where size=0);
delete from thumbs.datasExtra where imageid in (select imageid from images where size=0);
Delete from Images where size=0;
m. Th.

- Dark Themed XnViewMP 1.7.1 64bit on Win11 x64 -
Post Reply