2021-11-08 15:53:45 -06:00
|
|
|
Binary files dbmail-3.2.4.orig/src/.dm_mailboxstate.c.swp and dbmail-3.2.4/src/.dm_mailboxstate.c.swp differ
|
2021-11-08 15:22:39 -06:00
|
|
|
diff -uriN dbmail-3.2.4.orig/src/dm_mailboxstate.c dbmail-3.2.4/src/dm_mailboxstate.c
|
|
|
|
--- dbmail-3.2.4.orig/src/dm_mailboxstate.c 2020-06-08 02:19:38.000000000 -0500
|
2021-11-08 19:09:38 -06:00
|
|
|
+++ dbmail-3.2.4/src/dm_mailboxstate.c 2021-11-08 19:09:07.000000000 -0600
|
|
|
|
@@ -233,10 +233,10 @@
|
2021-11-08 15:22:39 -06:00
|
|
|
|
|
|
|
memset(query, 0, sizeof(query));
|
|
|
|
snprintf(query, DEF_QUERYSIZE-1,
|
|
|
|
- "SELECT k.message_idnr, group_concat(distinct keyword) FROM %skeywords k "
|
2021-11-08 15:53:45 -06:00
|
|
|
+ "SELECT k.message_idnr, string_agg(distinct keyword, ',') FROM %skeywords k "
|
2021-11-08 15:22:39 -06:00
|
|
|
"LEFT JOIN %smessages m ON k.message_idnr=m.message_idnr "
|
|
|
|
"WHERE m.mailbox_idnr = ? %s "
|
2021-11-08 19:09:38 -06:00
|
|
|
- "group by m.message_idnr",
|
|
|
|
+ "group by k.message_idnr",
|
|
|
|
DBPFX, DBPFX,
|
|
|
|
filterCondition);
|
|
|
|
|