Skip to content

Put Mimeloader insertion and read in the same transaction - #35744

Merged
szaimen merged 1 commit into
masterfrom
mimeloader-transaction
Apr 17, 2023
Merged

Put Mimeloader insertion and read in the same transaction#35744
szaimen merged 1 commit into
masterfrom
mimeloader-transaction

Conversation

@tcitworld

Copy link
Copy Markdown
Member

And modernize code a bit.

Checklist

@tcitworldtcitworld added the 3. to review Waiting for reviews label Dec 13, 2022
@tcitworldtcitworld added this to the Nextcloud 26 milestone Dec 13, 2022
@tcitworld
tcitworld requested review from a team, PVince81, come-nc, icewind1991 and nickvergessen and removed request for a teamDecember 13, 2022 08:55
Comment threadlib/private/Files/Type/Loader.php
@tcitworld
tcitworldforce-pushed the mimeloader-transaction branch 2 times, most recently from b655e41 to 532ace6CompareDecember 13, 2022 09:15
Comment threadlib/private/Files/Type/Loader.php Outdated
Comment threadlib/private/Files/Type/Loader.php Outdated
Comment threadlib/public/Files/IMimeTypeLoader.php Outdated
@tcitworld
tcitworldforce-pushed the mimeloader-transaction branch from e6c7d64 to de3fb63CompareJanuary 19, 2023 17:53
@tcitworldtcitworld mentioned this pull request Jan 19, 2023
4 tasks
@tcitworld
tcitworldforce-pushed the mimeloader-transaction branch from de3fb63 to d69f74eCompareJanuary 19, 2023 18:00
Comment threadlib/private/Files/Type/Loader.php Outdated
@tcitworld

Copy link
Copy Markdown
MemberAuthor

Lint issues sound unrelated.

Comment threadlib/private/Files/Type/Loader.php Outdated
Comment on lines -111 to +116
* @param int inserted ID
* @return int inserted ID

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Ouch :D

@nickvergessen

Copy link
Copy Markdown
Member

Might have a negative performance impact, but no clue

@blizzzblizzz mentioned this pull request Feb 1, 2023
@skjnldsvskjnldsv mentioned this pull request Feb 23, 2023
@blizzzblizzz mentioned this pull request Mar 7, 2023
@blizzzblizzz modified the milestones: Nextcloud 26, Nextcloud 27Mar 9, 2023
@szaimen

Copy link
Copy Markdown
Contributor

/rebase

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
@szaimen
szaimen enabled auto-merge April 17, 2023 13:36
@szaimen
szaimen merged commit 54b5703 into masterApr 17, 2023
@szaimen
szaimen deleted the mimeloader-transaction branch April 17, 2023 14:58
Comment threadlib/private/Files/Type/Loader.php
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to reviewWaiting for reviews

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@tcitworld@nickvergessen@szaimen@come-nc@blizzz