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:
parent
9bcc991ec8
commit
9ba102599f
@ -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[]
|
||||||
|
Loading…
Reference in New Issue
Block a user