EBookBackendSqliteDB: Added e_book_backend_sqlitedb_get/set_revision()
authorTristan Van Berkom <tristanvb@openismus.com>
Mon, 29 Oct 2012 05:40:47 +0000 (14:40 +0900)
committerTristan Van Berkom <tristanvb@openismus.com>
Thu, 8 Nov 2012 05:36:22 +0000 (14:36 +0900)
commit4a9dc35fa6ea5d4adcc7acfb3cf1b2e2263a5905
tree72f3a3f7817c1e1e8502adbf06eb476769007267
parent329181ac5931bace95bd4cba8c75187d63df61e8
EBookBackendSqliteDB: Added e_book_backend_sqlitedb_get/set_revision()

In preperation for the migration, there needs to be a way to persist the
overall addressbook revision. This patch also increments the internal
SQLite DB format version and adds the new revision column to for main
folders table of an addressbook (and increments the stored DB version)
if the DB version is out of date.
addressbook/libedata-book/e-book-backend-sqlitedb.c
addressbook/libedata-book/e-book-backend-sqlitedb.h