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 <[email protected]> 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
> [email protected]
> http://lists.yorba.org/cgi-bin/mailman/listinfo/shotwell
_______________________________________________
Shotwell mailing list
[email protected]
http://lists.yorba.org/cgi-bin/mailman/listinfo/shotwell

Reply via email to