From a1f765fb1a57dbf49afda18e1d997a0443ccb78d Mon Sep 17 00:00:00 2001 From: Clemens Zeidler Date: Mon, 21 Mar 2011 20:02:48 +0000 Subject: [PATCH] Create an index for MAIL:account_id. If you using POP3 update to this revision! POP3 queries for this attribute and if no mails are found with this id it will delete the missing mails on the server (if the option is ticked). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41071 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/servers/mail/MailDaemon.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/servers/mail/MailDaemon.cpp b/src/servers/mail/MailDaemon.cpp index f980450b2f..f121213b08 100644 --- a/src/servers/mail/MailDaemon.cpp +++ b/src/servers/mail/MailDaemon.cpp @@ -38,7 +38,7 @@ makeIndices() B_MAIL_ATTR_CC, B_MAIL_ATTR_FROM, B_MAIL_ATTR_NAME, B_MAIL_ATTR_PRIORITY, B_MAIL_ATTR_REPLY, B_MAIL_ATTR_STATUS, B_MAIL_ATTR_SUBJECT, B_MAIL_ATTR_TO, B_MAIL_ATTR_THREAD, - NULL + B_MAIL_ATTR_ACCOUNT, NULL }; // add mail indices for all devices capable of querying @@ -57,7 +57,7 @@ makeIndices() fs_create_index(device, "MAIL:draft", B_INT32_TYPE, 0); fs_create_index(device, B_MAIL_ATTR_WHEN, B_INT32_TYPE, 0); fs_create_index(device, B_MAIL_ATTR_FLAGS, B_INT32_TYPE, 0); - fs_create_index(device, B_MAIL_ATTR_ACCOUNT, B_INT32_TYPE, 0); + fs_create_index(device, B_MAIL_ATTR_ACCOUNT_ID, B_INT32_TYPE, 0); fs_create_index(device, B_MAIL_ATTR_READ, B_INT32_TYPE, 0); } }