1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-24 02:12:15 -05:00

Fix SQL statmeent

This commit is contained in:
Jesse Vincent 2009-12-27 16:50:28 +00:00
parent 9bcc991ec8
commit 9ba102599f

View File

@ -1261,10 +1261,8 @@ public class LocalStore extends Store implements Serializable
{ {
return getMessages( return getMessages(
listener, listener,
"SELECT " "SELECT " + GET_MESSAGES_COLS
+ "FROM messages " + "FROM messages WHERE "
+ GET_MESSAGES_COLS
+ "WHERE "
+ (includeDeleted ? "" : "deleted = 0 AND ") + (includeDeleted ? "" : "deleted = 0 AND ")
+ " folder_id = ? ORDER BY date DESC" + " folder_id = ? ORDER BY date DESC"
, new String[] , new String[]