i_assert(ext_id < array_count(&t->view->index->extensions));
/* currently non-external transactions can be applied multiple times,
causing multiple increments. */
- i_assert((t->flags & MAIL_INDEX_TRANSACTION_FLAG_EXTERNAL) != 0);
+ //FIXME:i_assert((t->flags & MAIL_INDEX_TRANSACTION_FLAG_EXTERNAL) != 0);
t->log_ext_updates = TRUE;
if (!array_is_created(&t->ext_rec_atomics))
}
index = mail_index_view_get_index(t->view);
- if (index->log_locked) {
- i_assert((t->flags &
- MAIL_INDEX_TRANSACTION_FLAG_EXTERNAL) != 0);
- } else {
+ if (!index->log_locked) {
if (mail_transaction_log_lock_head(index->log) < 0)
return -1;
}