Skip to content

server: Rework NewConn/defaultServer #1021

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 14 commits into from
Apr 2, 2025

Conversation

dveeden
Copy link
Collaborator

@dveeden dveeden commented Apr 1, 2025

Closes #1020

  • De-duplicate NewConn() and NewCustomizedConn() code
  • Only call NewDefaultServer() when needed

Copy link
Contributor

@ccoVeille ccoVeille left a comment

Choose a reason for hiding this comment

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

Some remarks, otherwise LGTM 👍

dveeden and others added 2 commits April 1, 2025 10:38
Co-authored-by: ccoVeille <[email protected]>
Co-authored-by: ccoVeille <[email protected]>
Co-authored-by: rosstimothy <[email protected]>
@lance6716 lance6716 mentioned this pull request Apr 2, 2025
dveeden and others added 3 commits April 2, 2025 07:33
@lance6716 lance6716 merged commit ee9447d into go-mysql-org:master Apr 2, 2025
15 checks passed
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.

Expensive default variable creation
4 participants