Skip to content
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

Fix TO db leak of prepared statements not closed #2537

Merged
merged 1 commit into from Jul 13, 2018

Conversation

rob05c
Copy link
Member

@rob05c rob05c commented Jul 12, 2018

Prepared statements were unnecessary, so this changes them to direct
queries.

Also fixes panics if the error log is null.

@rob05c rob05c added bug something isn't working as intended critical labels Jul 12, 2018
Prepared statements were unnecessary, so this changes them to direct
queries.

Also fixes panics if the error log is null.
@rob05c rob05c force-pushed the fix-db-leak-to-server-assignments branch from 27eb28b to dc00ece Compare July 12, 2018 17:33
@asfgit
Copy link
Contributor

asfgit commented Jul 12, 2018

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/2093/
Test FAILed.

@mitchell852
Copy link
Member

retest this please

@asfgit
Copy link
Contributor

asfgit commented Jul 12, 2018

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/2095/
Test PASSed.

Copy link

@DylanVolz DylanVolz left a comment

Choose a reason for hiding this comment

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

+1 we should never have been preparing statements in a handler.

@mitchell852 mitchell852 merged commit 7030ac2 into apache:master Jul 13, 2018
@rob05c rob05c deleted the fix-db-leak-to-server-assignments branch January 2, 2019 20:00
@rob05c rob05c restored the fix-db-leak-to-server-assignments branch January 2, 2019 20:16
@rob05c rob05c deleted the fix-db-leak-to-server-assignments branch January 2, 2019 20:16
@mitchell852 mitchell852 added the high impact impacts the basic function, deployment, or operation of a CDN label Nov 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something isn't working as intended high impact impacts the basic function, deployment, or operation of a CDN
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants