Am 11.11.2012 22:05, schrieb Tobias Ellinghaus: > Am Samstag, 10. November 2012, 17:50:40 schrub Ulrich Pegelow: > > [...] > >> For all new installations (with newly generated library.db) the problem >> is solved. Unfortunately all existing library.db files still have the >> issue. sqlite does not allow to change the autoincrement property on >> existing tables. > > You could also try to use the approach from src/control/control.c:595 ff. > Yepp, I've seen that. The problem here is that this change will lead to new image IDs for all existing images. As the ID plays a major role in several database tables (history etc.) we need to make really sure that all these are updated correctly. Else we leave the user with an unusable database and a complete loss of all presets, styles, settings etc.
I just finished a python script to do the changes. If you are interested in testing, I can send it to you. Ulrich ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_nov _______________________________________________ Darktable-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/darktable-users
