Fix for EnablePrepareOnFirst...Call with statement pooling turned off#513
Merged
xiangyushawn merged 1 commit intodevfrom Nov 30, 2017
Merged
Fix for EnablePrepareOnFirst...Call with statement pooling turned off#513xiangyushawn merged 1 commit intodevfrom
xiangyushawn merged 1 commit intodevfrom
Conversation
Codecov Report
@@ Coverage Diff @@
## dev #513 +/- ##
============================================
- Coverage 46.51% 46.24% -0.28%
- Complexity 2218 2666 +448
============================================
Files 108 108
Lines 25312 34935 +9623
Branches 4181 6819 +2638
============================================
+ Hits 11775 16154 +4379
- Misses 11501 16119 +4618
- Partials 2036 2662 +626
Continue to review full report at Codecov.
|
Contributor
Author
|
Any comments? Ready to merge? |
Contributor
|
@TobiasSQL Hello, we just finished code review and ready to merge the PR. Thank you. |
xiangyushawn
approved these changes
Nov 30, 2017
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This fix needs to be ported to dev and master. Current behavior in both branches will cause multiple PreparedStatement instances with the same SQL text not to honor EnablePrepareOnFirstPreparedStatementCall. This will in turn hurt performance slightly by unnecessarily preparing statement handles on the server.