[Shotwell] Journaling photo.db

Lucas Beeler lucas at yorba.org
Wed Mar 7 11:06:07 PST 2012


Hi Kent,

Database initialization (and when necessary, schema upgrade) occurs in
$(PROJECT_ROOT)/src/db/db.vala and the opening of the SQLite database
connection occurs in $(PROJECT_ROOT)/src/db/DatabaseTable.vala, in the
prepare_db( ) method of the DatabaseTable class.

That said, directly accessing the Shotwell photo database and/or
changing the database client code to modify flags or change access
settings outside of the normal Shotwell patch submission and code
review process will result an an unsupported hack of Shotwell whose
database file may become incompatible with future versions. So do this
at your own risk and carefully.

Lucas

On Wed, Mar 7, 2012 at 7:53 AM, Kent Tenney <ktenney at gmail.com> wrote:
> Howdy,
>
> I need to monitor changes to photo.db, it seems sqlite will do this
> if given the correct flags when connecting to the db.
>
> I'm running from trunk: where in the source tree should I look
> to make this change?
>
> Thanks,
> Kent
> _______________________________________________
> Shotwell mailing list
> Shotwell at lists.yorba.org
> http://lists.yorba.org/cgi-bin/mailman/listinfo/shotwell


More information about the Shotwell mailing list