The following issue has been RESOLVED. ====================================================================== http://www.dbmail.org/mantis/view.php?id=133 ====================================================================== Reported By: aaron Assigned To: paul ====================================================================== Project: DBMail Issue ID: 133 Category: Database layer Reproducibility: always Severity: feature Priority: normal Status: resolved Resolution: fixed Fixed in Version: SVN Trunk ====================================================================== Date Submitted: 05-Dec-04 12:45 CET Last Modified: 28-Apr-06 16:40 CEST ====================================================================== Summary: Mailbox listing is terribly inefficient Description: The _ic_list function in imapcommands.c generates four queries per mailbox in order to list the mailboxes owned by a user. I don't think we need more than one query per mailbox, if even that many -- I bet that the db_mailbox_list_regex function could easily return the mailboxes as a list of "mailbox_t" structures that tells us everything we need to know in one query. ======================================================================
---------------------------------------------------------------------- paul - 28-Apr-06 16:40 ---------------------------------------------------------------------- I've fixed this some time ago, but forgot to close this bug. Issue History Date Modified Username Field Change ====================================================================== 05-Dec-04 12:45 aaron New Issue 16-Dec-04 01:37 aaron Status new => assigned 16-Dec-04 01:37 aaron Assigned To => aaron 28-Apr-06 16:40 paul Note Added: 0001111 28-Apr-06 16:40 paul Assigned To aaron => paul 28-Apr-06 16:40 paul Status assigned => resolved 28-Apr-06 16:40 paul Resolution open => fixed 28-Apr-06 16:40 paul Fixed in Version => SVN Trunk ======================================================================