~ubuntu-branches/ubuntu/raring/dovecot/raring

« back to all changes in this revision

Viewing changes to src/lib-index/mail-cache-decisions.c

  • Committer: Package Import Robot
  • Author(s): Marco Nenciarini
  • Date: 2011-09-19 19:26:48 UTC
  • mfrom: (1.14.4 upstream)
  • mto: (4.8.2 experimental)
  • mto: This revision was merged to the branch mainline in revision 86.
  • Revision ID: package-import@ubuntu.com-20110919192648-ri3sovtiz334yori
Tags: 1:2.0.15-1
* [a22575a] New upstream version 2.0.15: (Closes: #642045)
    + doveadm altmove: Added -r parameter to move mails back to primary
      storage.
    - v2.0.14: Index reading could have eaten a lot of memory in some
      situations
    - doveadm index no longer affects future caching decisions
    - mbox: Fixed crash during mail delivery when mailbox didn't yet have
      GUID assigned to it.
    - zlib+mbox: Fetching last message from compressed mailboxes crashed.
    - lib-sql: Fixed load balancing and error
* [8ce5abc] Update pigeonhole to release 0.2.4
* [87658d2] Add dovecot-solr to dovecot-core's Suggests line.

Show diffs side-by-side

added added

removed removed

Lines of Context:
79
79
 
80
80
        i_assert(field < cache->fields_count);
81
81
 
 
82
        if (view->no_decision_updates)
 
83
                return;
 
84
 
82
85
        mail_index_lookup_uid(view->view, seq, &uid);
83
86
        hdr = mail_index_get_header(view->view);
84
87
 
124
127
 
125
128
        i_assert(field < cache->fields_count);
126
129
 
127
 
        if (MAIL_CACHE_IS_UNUSABLE(cache))
 
130
        if (MAIL_CACHE_IS_UNUSABLE(cache) || view->no_decision_updates)
128
131
                return;
129
132
 
130
133
        if (cache->fields[field].field.decision != MAIL_CACHE_DECISION_NO) {