We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
change from: String sql = "update hm_messages set messageflags = messageflags & ~ @flags where messageaccountid = @accountid and messagefolderid = @FOLDERID; to: String sql = "update hm_messages set messageflags = messageflags & ~ @flags where messageaccountid = @accountid and messagefolderid = @FOLDERID and NOT messageflags = messageflags & ~ @flags";
This patch will speed up the request
The text was updated successfully, but these errors were encountered:
- Sub OnHELO(oClient) hmailserver#153 hmailserver#153
817ca42
- Fixed Incorrect DEBUG logging for event 'OnDeliverMessage' hmailserver#181 hmailserver#181 - Include HTMLBody into IMAP TEXT search hmailserver#193 - Fixed implicit conversion: "int" to "unsigned char" hmailserver#204 - Faulty: SMTP 'Disconnect client after too many invalid commands' hmailserver#160 hmailserver#160 - SMTP server error "550 Unsupported ESMTP extension" on MAIL FROM:... AUTH=<> [with fix] hmailserver#164 hmailserver#164 - Remove 15GB backup limit hmailserver#69 hmailserver#69 - Speed up 'update hm_messages set messageflags' hmailserver#221 hmailserver#221 - https://www.hmailserver.com/forum/viewtopic.php?f=7&p=196733#p196733 (Ofice 2016 Read-Receipt Bug) - Add Return-Path as topmost header before sending the message to SA (+ delete Return-Path header after the SA check completes) hmailserver#116
This may be a performance improvement for some database, but the syntax is not compatible with SQL Server Compact so can't include the change.
Sorry, something went wrong.
No branches or pull requests
change from:
String sql = "update hm_messages set messageflags = messageflags & ~ @flags where messageaccountid = @accountid and messagefolderid = @FOLDERID;
to:
String sql = "update hm_messages set messageflags = messageflags & ~ @flags where messageaccountid = @accountid and messagefolderid = @FOLDERID and NOT messageflags = messageflags & ~ @flags";
This patch will speed up the request
The text was updated successfully, but these errors were encountered: