Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix performance issues in prepare_update() #7662

Merged
merged 2 commits into from
Jul 20, 2023

Conversation

ilya071294
Copy link
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
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
Member

dyemanov commented Jul 20, 2023

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

@hvlad
Copy link
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
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants