Skip to content

Conversation

@solracsf
Copy link
Member

@solracsf solracsf commented Jun 17, 2025

Eliminates the need to load fileIds into PHP by using a database INNER JOIN with the oc_filecache table, filtering files by their parent (the folder's ID) directly in the SQL query. This avoids the IN clause entirely

Checklist

Copy link
Member

@provokateurin provokateurin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, this looks much better and should fix #53527

@provokateurin
Copy link
Member

@solracsf any reason to keep it as a draft?

@solracsf

This comment was marked as resolved.

@provokateurin provokateurin marked this pull request as ready for review June 23, 2025 07:48
@provokateurin provokateurin requested a review from a team as a code owner June 23, 2025 07:48
@provokateurin provokateurin requested review from Altahrim, ArtificialOwl and icewind1991 and removed request for a team June 23, 2025 07:48
@provokateurin
Copy link
Member

/backport to stable31

@provokateurin

This comment was marked as resolved.

@come-nc come-nc merged commit f980d94 into master Jun 23, 2025
202 of 204 checks passed
@come-nc come-nc deleted the fixFilesRemindersJoins branch June 23, 2025 10:24
@backportbot

This comment was marked as outdated.

@provokateurin
Copy link
Member

The stable30 backport must also include #53644!

@solracsf
Copy link
Member Author

The stable30 backport must also include #53644!

findAllInFolder() is v31+

@skjnldsv skjnldsv mentioned this pull request Aug 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: More than 1000 expressions in a list are not allowed on Oracle. (postgresql, in files_reminders / cacheFolder)

5 participants