mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-03 05:34:51 +00:00
Optimization
This commit is contained in:
parent
2bc133d206
commit
64edc138dc
1 changed files with 1 additions and 0 deletions
|
@ -227,6 +227,7 @@ public interface DaoMessage {
|
||||||
" OR NOT EXISTS" +
|
" OR NOT EXISTS" +
|
||||||
" (SELECT * FROM message m" +
|
" (SELECT * FROM message m" +
|
||||||
" WHERE m.id <> message.id" +
|
" WHERE m.id <> message.id" +
|
||||||
|
" AND m.account = message.account" +
|
||||||
" AND m.thread = message.thread" +
|
" AND m.thread = message.thread" +
|
||||||
" AND (m.hash = message.hash OR m.msgid = message.msgid)" +
|
" AND (m.hash = message.hash OR m.msgid = message.msgid)" +
|
||||||
" AND NOT m.ui_hide))" +
|
" AND NOT m.ui_hide))" +
|
||||||
|
|
Loading…
Reference in a new issue