mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-26 17:57:16 +00:00
Small improvement
This commit is contained in:
parent
7be0775876
commit
bf48d91a19
1 changed files with 1 additions and 1 deletions
|
@ -587,7 +587,7 @@ public interface DaoMessage {
|
|||
int updateMessage(EntityMessage message);
|
||||
|
||||
@Query("UPDATE message SET thread = :thread" +
|
||||
" WHERE account = :account AND thread = :old AND NOT (thread IS :thread)")
|
||||
" WHERE account = :account AND thread = :old AND NOT (:old IS :thread)")
|
||||
int updateMessageThread(long account, String old, String thread);
|
||||
|
||||
@Query("UPDATE message SET uid = :uid WHERE id = :id AND NOT (uid IS :uid)")
|
||||
|
|
Loading…
Reference in a new issue