Skip to content

refactor: remove unnecessary prepared statement allocation #6374

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

Conversation

lzakharov
Copy link
Contributor

@lzakharov lzakharov commented Jun 4, 2023

  • Do only one thing
  • Non breaking API changes
  • Tested

What did this pull request do?

This PR removes unnecessary allocation of prepared statements when initializing a database connection.

@lzakharov lzakharov force-pushed the remove-unnecessary-prepared-stmt-allocation branch 2 times, most recently from 43f70f6 to 1b2db62 Compare June 4, 2023 15:32
@lzakharov lzakharov force-pushed the remove-unnecessary-prepared-stmt-allocation branch from 1b2db62 to 6c22346 Compare June 4, 2023 15:33
@jinzhu jinzhu merged commit 7a76c04 into go-gorm:master Jun 5, 2023
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