EBookBackendSqliteDB: Add new overall revision to the contacts DB
authorTristan Van Berkom <tristanvb@openismus.com>
Fri, 8 Mar 2013 07:42:22 +0000 (16:42 +0900)
committerTristan Van Berkom <tristanvb@openismus.com>
Mon, 11 Mar 2013 08:17:11 +0000 (17:17 +0900)
commit79b535bd2e3235c3c96ce5386bad8b1d2f964f1f
treea52c166b896c0852556d99a6baaa3900f74303c0
parent00573eda8ed20e42ebf95c80c82b367a15514343
EBookBackendSqliteDB: Add new overall revision to the contacts DB

Previous upgrades overlooked the fact that we normalized the contact
data in the summary columns, this added revision ensures that all
contact data is normalized (something that was already done for a
change in phone number normalizations, but only for version 4 -> 5).

For some added safety, this patch changes the normalization
routine to be nested into a transaction.

Fixes bug 695145
addressbook/libedata-book/e-book-backend-sqlitedb.c