Skip to content

Avoid reparsing a Gtid to copy in sub/add #391

New issue

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

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

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 29, 2022

Conversation

darnuria
Copy link
Contributor

Wanted to avoid some reparsing in sub, add.

@darnuria darnuria changed the title Add a deep copy constructor to Gtid helps to avoid reparsing. Add a deep copy constructor to Gtid helps to avoid reparsing + typing. Dec 18, 2022
@darnuria
Copy link
Contributor Author

Alternative way: just remove the new method and directly copy.deepcopy()

@darnuria darnuria force-pushed the gtid-cpy-ctor branch 3 times, most recently from 5bbf554 to 481b9a1 Compare December 21, 2022 09:50
@darnuria darnuria changed the title Add a deep copy constructor to Gtid helps to avoid reparsing + typing. Avoid reparsing a Gtid to copy in sub/add Dec 21, 2022
@darnuria
Copy link
Contributor Author

darnuria commented Dec 21, 2022

Reduced a lot the scope of the PR thanks to discussion with @linkmauve a friend of mine. :)

@darnuria darnuria marked this pull request as ready for review December 21, 2022 09:52
@darnuria
Copy link
Contributor Author

Would be safer to land after #390, or I just missed test for add/sub.

@julien-duponchelle julien-duponchelle merged commit 9e337ee into julien-duponchelle:main Dec 29, 2022
@darnuria darnuria deleted the gtid-cpy-ctor branch January 4, 2023 22:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants