Fix SQL statmeent
This commit is contained in:
parent
9bcc991ec8
commit
9ba102599f
1 changed files with 2 additions and 4 deletions
|
@ -1261,10 +1261,8 @@ public class LocalStore extends Store implements Serializable
|
|||
{
|
||||
return getMessages(
|
||||
listener,
|
||||
"SELECT "
|
||||
+ "FROM messages "
|
||||
+ GET_MESSAGES_COLS
|
||||
+ "WHERE "
|
||||
"SELECT " + GET_MESSAGES_COLS
|
||||
+ "FROM messages WHERE "
|
||||
+ (includeDeleted ? "" : "deleted = 0 AND ")
|
||||
+ " folder_id = ? ORDER BY date DESC"
|
||||
, new String[]
|
||||
|
|
Loading…
Reference in a new issue