[evolution-data-server/openismus-work-master: 101/137] Changes for	Review: improved source code comment in EBookBackendSqliteDB.
- From: Tristan Van Berkom <tvb src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [evolution-data-server/openismus-work-master: 101/137] Changes for	Review: improved source code comment in EBookBackendSqliteDB.
 
- Date: Mon, 21 Oct 2013 22:55:03 +0000 (UTC)
 
commit 8c490a00aa62d393272b1fa68e5de332b5560e25
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 1d4675b..be89513 100644
--- a/addressbook/libedata-book/e-book-backend-sqlitedb.c
+++ b/addressbook/libedata-book/e-book-backend-sqlitedb.c
@@ -647,10 +647,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]