[evolution-data-server/openismus-work-3-8] Changes for Review: improved source code comment in EBookBackendSqliteDB.



commit e09f51ef01c43c9395f89bb9c4e86f0254190be5
Author: Tristan Van Berkom <tristanvb openismus com>
Date:   Sat Oct 5 23:54:09 2013 +0200

    Changes for Review: improved source code comment in EBookBackendSqliteDB.

 .../libedata-book/e-book-backend-sqlitedb.c        |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/addressbook/libedata-book/e-book-backend-sqlitedb.c 
b/addressbook/libedata-book/e-book-backend-sqlitedb.c
index ffd8110..1aacc8e 100644
--- a/addressbook/libedata-book/e-book-backend-sqlitedb.c
+++ b/addressbook/libedata-book/e-book-backend-sqlitedb.c
@@ -649,10 +649,8 @@ create_folders_table (EBookBackendSqliteDB *ebsdb,
        if (!success)
                goto rollback;
 
-       /* Adding countrycode column again to track the addressbook's country code.
-        * Detecting presence of this column by reflection instead of assigning a
-        * dedicated schema version number, because upstream is not going to accept
-        * a locale bound addressbook database. See discussion in bug 689622.
+       /* Ensure countrycode column exists to track the addressbook's country code,
+        * these statements are safe regardless of the previous schema version.
         */
        stmt = "PRAGMA table_info(folders)";
        success = book_backend_sql_exec (


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]