Skip to content

fix(expire): delete conditions for activity_expire_exclude_users#2655

Merged
miaulalala merged 1 commit into
masterfrom
fix/correct-delete-conditions
Jul 20, 2026
Merged

fix(expire): delete conditions for activity_expire_exclude_users#2655
miaulalala merged 1 commit into
masterfrom
fix/correct-delete-conditions

Conversation

@solracsf

@solracsf solracsf commented Jun 13, 2026

Copy link
Copy Markdown
Member

Fix #2647

I truly believe this config param never worked since it has been shipped...

Build delete conditions as [column, value, operator] tuples and apply them all with andWhere() via a shared helper, fixing the crash when activity_expire_exclude_users is set and the MySQL chunked-delete path dropping all but the last condition.

🤖 AI (if applicable)

  • The content of this PR was partly or fully generated using AI

Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
@miaulalala
miaulalala force-pushed the fix/correct-delete-conditions branch from ecb0b15 to 61423f9 Compare July 15, 2026 19:52
@miaulalala
miaulalala merged commit e7a6492 into master Jul 20, 2026
52 checks passed
@miaulalala
miaulalala deleted the fix/correct-delete-conditions branch July 20, 2026 17:59
@miaulalala

Copy link
Copy Markdown
Collaborator

/backport to stable34

@miaulalala

Copy link
Copy Markdown
Collaborator

/backport to stable33

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

activity_expire_exclude_users causes ERROR during ExpireActivities

3 participants