[geary] Don't return flags Set if none in database: Bug #713907
- From: Jim Nelson <jnelson src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geary] Don't return flags Set if none in database: Bug #713907
- Date: Fri, 24 Oct 2014 19:46:01 +0000 (UTC)
commit b5a4feb20761791ee5de8cac1582a09a956b62a2
Author: Jim Nelson <jim yorba org>
Date: Fri Oct 24 12:45:38 2014 -0700
Don't return flags Set if none in database: Bug #713907
src/engine/imap-db/imap-db-folder.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/engine/imap-db/imap-db-folder.vala b/src/engine/imap-db/imap-db-folder.vala
index 2c08afc..07f2aaf 100644
--- a/src/engine/imap-db/imap-db-folder.vala
+++ b/src/engine/imap-db/imap-db-folder.vala
@@ -1546,7 +1546,7 @@ private class Geary.ImapDB.Folder : BaseObject, Geary.ReferenceSemantics {
fetch_stmt.bind_rowid(0, location.message_id);
Db.Result results = fetch_stmt.exec(cancellable);
- if (results.finished)
+ if (results.finished || results.is_null_at(0))
continue;
map.set(location.email_id,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]