Skip to content

Fix performance issues in prepare_update()#7662

Merged
ilya071294 merged 2 commits intoFirebirdSQL:masterfrom
red-soft-ru:5_0_prepare_update_fixes
Jul 20, 2023
Merged

Fix performance issues in prepare_update()#7662
ilya071294 merged 2 commits intoFirebirdSQL:masterfrom
red-soft-ru:5_0_prepare_update_fixes

Conversation

@ilya071294
Copy link
Copy Markdown
Contributor

Commits in the PR fix similar cases where the temporary record is inserted twice in prepare_update().

…comparison in prepare_update() which causes the temporary record to be inserted twice
…update() when the record which is being updated has 3 or more fragments
@ilya071294 ilya071294 requested a review from hvlad July 13, 2023 11:58
@ilya071294
Copy link
Copy Markdown
Contributor Author

The first commit is only for FB5 but the second one is actual for FB3/4. Should I backport it?

@dyemanov
Copy link
Copy Markdown
Member

dyemanov commented Jul 20, 2023

I don't mind about backporting. @hvlad, what do you think ?

@hvlad
Copy link
Copy Markdown
Member

hvlad commented Jul 20, 2023

I don't mind about backporting. @hvlad, what do you think ?

Agree

@ilya071294 ilya071294 merged commit 3a147d7 into FirebirdSQL:master Jul 20, 2023
ilya071294 added a commit that referenced this pull request Jul 20, 2023
Fix an issue where the temporary record is inserted twice in prepare_update() when the record which is being updated has 3 or more fragments
ilya071294 added a commit that referenced this pull request Jul 20, 2023
Fix an issue where the temporary record is inserted twice in prepare_update() when the record which is being updated has 3 or more fragments
@ilya071294 ilya071294 deleted the 5_0_prepare_update_fixes branch July 20, 2023 11:26
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.

4 participants