[geary/wip/713150-conversations: 4/7] Fix faulty SQL



commit e428d1a02d916c07660fa98ab80d8c4ce69bbecf
Author: Jim Nelson <jim yorba org>
Date:   Thu Feb 26 12:30:06 2015 -0800

    Fix faulty SQL

 src/engine/imap-db/imap-db-conversation.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/engine/imap-db/imap-db-conversation.vala b/src/engine/imap-db/imap-db-conversation.vala
index 215a2b6..4917b24 100644
--- a/src/engine/imap-db/imap-db-conversation.vala
+++ b/src/engine/imap-db/imap-db-conversation.vala
@@ -59,7 +59,7 @@ internal void do_add_message_to_conversation(Db.Connection cx, int64 message_id,
     StringBuilder sql = new StringBuilder("""
         SELECT conversation_id
         FROM MessageConversationTable
-        WHERE rfc822_message_id IN
+        WHERE rfc822_message_id IN (
     """);
     for (int ctr = 0; ctr < ancestors.size; ctr++)
         sql.append(ctr == 0 ? "?" : ",?");


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