Skip to content

Commit b6751e7

Browse files
committed
Merge branch 'supported'
2 parents 9fb0e7d + bc13436 commit b6751e7

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

doc/changelog.rst

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@ Enhancements:
1616
lack the ``sv`` and ``id`` fields
1717
* kdb2mt: entryids and search keys for senders/recipients are now translated
1818
with the help of user maps
19-
* delivery: the OOF autoresponder was rewritten so it does not use direct
20-
filesystem access anymore (since the mailbox might not be present on the same
21-
host where the LDA runs)
2219

2320
Fixes:
2421

@@ -49,8 +46,9 @@ Changes:
4946

5047
* imap: the combination of the config directive ``imap_force_tls=yes`` with
5148
``imap_support_tls=no`` is now rejected on startup
52-
* exmdb: PR_OOF_STATE is now a computed property and it evaluates the OOF
53-
configuration against the current time
49+
* delivery: the OOF autoresponder was rewritten so it does not use direct
50+
filesystem access anymore (since the mailbox might not be present on the same
51+
host where the LDA runs)
5452

5553

5654
Gromox 3.1 (2025-10-26)

exch/exmdb/db_engine.cpp

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2796,8 +2796,10 @@ static void dbeng_notify_cttbl_delete_row(db_conn *pdb, uint64_t folder_id,
27962796
}
27972797

27982798
std::vector<rowinfo_node> notify_list;
2799-
for (const auto &delnode : del_list) {
2800-
auto pdelnode = &delnode;
2799+
auto del_iter = del_list.cbegin();
2800+
for (; del_iter != del_list.cend(); ++del_iter) {
2801+
auto &delnode = *del_iter;
2802+
auto pdelnode = &*del_iter;
28012803
if (ptable->extremum_tag != 0 &&
28022804
pdelnode->depth == ptable->psorts->ccategories)
28032805
/* historically no-op for some reason */;
@@ -2946,7 +2948,8 @@ static void dbeng_notify_cttbl_delete_row(db_conn *pdb, uint64_t folder_id,
29462948
stm_upd_previd.finalize();
29472949
stm_sel_ex.finalize();
29482950
}
2949-
if (!del_list.empty())
2951+
if (del_iter != del_list.cend())
2952+
/* Iteration through del_list stopped half-way */
29502953
continue;
29512954
if (b_index) {
29522955
snprintf(sql_string, std::size(sql_string), "UPDATE t%u SET idx=NULL", ptable->table_id);

0 commit comments

Comments
 (0)