[evolution-ews] EBookBackendSqliteDB: use correct table name for key/val queries



commit 7522ce8cd87214b067afe1ba7ef9ad70ec37c86b
Author: Sean Finney <seanius seanius net>
Date:   Wed May 18 07:48:38 2011 +0000

    EBookBackendSqliteDB: use correct table name for key/val queries
    
    Signed-off-by: Sean Finney <seanius seanius net>

 src/addressbook/e-book-backend-sqlitedb.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/addressbook/e-book-backend-sqlitedb.c b/src/addressbook/e-book-backend-sqlitedb.c
index 561fb97..b1026c2 100644
--- a/src/addressbook/e-book-backend-sqlitedb.c
+++ b/src/addressbook/e-book-backend-sqlitedb.c
@@ -1371,7 +1371,7 @@ e_book_backend_sqlitedb_get_key_value	(EBookBackendSqliteDB *ebsdb,
 
 	READER_LOCK (ebsdb);
 
-	stmt = sqlite3_mprintf ("SELECT value FROM folders WHERE folder_id = %Q AND key = %Q",
+	stmt = sqlite3_mprintf ("SELECT value FROM keys WHERE folder_id = %Q AND key = %Q",
 							folderid, key);
 	book_backend_sql_exec (ebsdb->priv->db, stmt, get_string_cb , &ret, error);
 	sqlite3_free (stmt);



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