Use proper table name in SqlQueryBuilder
This commit is contained in:
parent
58281359a7
commit
2c94dc6d08
2 changed files with 1 additions and 2 deletions
|
@ -66,7 +66,7 @@ public class SqlQueryBuilder {
|
|||
if (condition.attribute != Attribute.CONTAINS) {
|
||||
Timber.e("message contents can only be matched!");
|
||||
}
|
||||
query.append("m.id IN (SELECT docid FROM messages_fulltext WHERE fulltext MATCH ?)");
|
||||
query.append("messages.id IN (SELECT docid FROM messages_fulltext WHERE fulltext MATCH ?)");
|
||||
selectionArgs.add(fulltextQueryString);
|
||||
break;
|
||||
}
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
package com.fsck.k9.storage.messages
|
||||
|
||||
import android.database.Cursor
|
||||
import com.fsck.k9.helper.map
|
||||
import com.fsck.k9.mail.Address
|
||||
import com.fsck.k9.mailstore.DatabasePreviewType
|
||||
import com.fsck.k9.mailstore.LockableDatabase
|
||||
|
|
Loading…
Reference in a new issue