Am 2015-02-25 21:36, schrieb Torsten Bronger:
> Hallöchen!
> 
> Well, actually we do have primary keys now.  They are defined in
> lensfunprv.h.  But they combine multiple string fields, and even
> worse, these fields may change over time (e.g. lens model name).
> This is unpleasant for the calling program.  Ideally, every camera
> and lens should have a (numerical?) ID which is unique, even with
> local XML files present, and never ever changes.
> 

Maybe a good idea. However, we can never use this primary key to 
directly query the database as we do not get the ID from exif, right? 
But as soon as we have a match we can always reference the lens by its 
ID internally. This may simplify some parts...

Sebastian

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Lensfun-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lensfun-users

Reply via email to