[evolution-data-server/openismus-work-master: 106/118] 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: 106/118] Changes for Review: improved source code comment in EBookBackendSqliteDB.
- Date: Sat, 12 Oct 2013 02:03:52 +0000 (UTC)
commit bfbf7fd694437ec1c434f931de9b87b39c6b0bdc
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]