[evolution-data-server/openismus-work] EBookBackendSqliteDB: Fix e_book_backend_sqlitedb_search_uids()
- From: Tristan Van Berkom <tvb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server/openismus-work] EBookBackendSqliteDB: Fix e_book_backend_sqlitedb_search_uids()
- Date: Thu, 29 Nov 2012 10:08:51 +0000 (UTC)
commit 77fee1a72853c3929390fde60f9952cac3574721
Author: Tristan Van Berkom <tristanvb openismus com>
Date: Thu Nov 29 19:07:39 2012 +0900
EBookBackendSqliteDB: Fix e_book_backend_sqlitedb_search_uids()
Since we started using table aliases, this API was missed.
.../libedata-book/e-book-backend-sqlitedb.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/addressbook/libedata-book/e-book-backend-sqlitedb.c b/addressbook/libedata-book/e-book-backend-sqlitedb.c
index 0489bb2..202317b 100644
--- a/addressbook/libedata-book/e-book-backend-sqlitedb.c
+++ b/addressbook/libedata-book/e-book-backend-sqlitedb.c
@@ -2959,7 +2959,7 @@ e_book_backend_sqlitedb_search_uids (EBookBackendSqliteDB *ebsdb,
g_free (list_table);
} else
- stmt = sqlite3_mprintf ("SELECT uid FROM %Q WHERE %s", folderid, sql_query);
+ stmt = sqlite3_mprintf ("SELECT summary.uid FROM %Q AS summary WHERE %s", folderid, sql_query);
book_backend_sql_exec (ebsdb->priv->db, stmt, addto_slist_cb, &uids, error);
sqlite3_free (stmt);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]