[evolution-data-server/openismus-work] sqlitedb: Use lower case column name for Rev field
- From: Mathias Hasselmann <hasselmm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server/openismus-work] sqlitedb: Use lower case column name for Rev field
- Date: Wed, 19 Dec 2012 00:51:51 +0000 (UTC)
commit d0a287f00c6b5a27554f80a24f339d677b1e7942
Author: Mathias Hasselmann <mathias openismus com>
Date: Wed Dec 19 01:46:08 2012 +0100
sqlitedb: Use lower case column name for Rev field
Previous versions of the summary database used a column named "rev" to store
this field. Let's keep it that way to avoid hidden upgrade issues because of
column names differing in upper or lower case.
.../libedata-book/e-book-backend-sqlitedb.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/addressbook/libedata-book/e-book-backend-sqlitedb.c b/addressbook/libedata-book/e-book-backend-sqlitedb.c
index bb87c44..404ec4f 100644
--- a/addressbook/libedata-book/e-book-backend-sqlitedb.c
+++ b/addressbook/libedata-book/e-book-backend-sqlitedb.c
@@ -1185,6 +1185,9 @@ append_summary_field (GArray *array,
case E_CONTACT_IS_LIST:
dbname = "is_list";
break;
+ case E_CONTACT_REV:
+ dbname = "rev";
+ break;
default:
dbname = e_contact_field_name (field);
break;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]