From fecfac391379ba33f450823331512ecaf58bc3af Mon Sep 17 00:00:00 2001 From: Philip Whitehouse Date: Thu, 28 Apr 2016 09:36:09 +0100 Subject: [PATCH] Fix column reference for fulltext message table --- k9mail/src/main/java/com/fsck/k9/mailstore/LocalMessage.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/k9mail/src/main/java/com/fsck/k9/mailstore/LocalMessage.java b/k9mail/src/main/java/com/fsck/k9/mailstore/LocalMessage.java index 43eb1f1d4..c802bf6b2 100644 --- a/k9mail/src/main/java/com/fsck/k9/mailstore/LocalMessage.java +++ b/k9mail/src/main/java/com/fsck/k9/mailstore/LocalMessage.java @@ -442,7 +442,7 @@ public class LocalMessage extends MimeMessage { private void deleteFulltextIndexEntry(SQLiteDatabase db, long messageId) { String[] idArg = { Long.toString(messageId) }; - db.delete("messages_fulltext", "id = ?", idArg); + db.delete("messages_fulltext", "docid = ?", idArg); } /**