Skip to content

Fix for CORE-5469: Handles allocated with isc_dsql_alloc_statement2() are not cleaned on disconnect#78

Merged
AlexPeshkoff merged 2 commits into
FirebirdSQL:masterfrom
aafemt:CORE-5469
Feb 2, 2017
Merged

Fix for CORE-5469: Handles allocated with isc_dsql_alloc_statement2() are not cleaned on disconnect#78
AlexPeshkoff merged 2 commits into
FirebirdSQL:masterfrom
aafemt:CORE-5469

Conversation

@aafemt

@aafemt aafemt commented Jan 30, 2017

Copy link
Copy Markdown
Contributor

No description provided.

@hvlad hvlad left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Why massive move of code ? It is impossible to see what was changed in moved lines.

@aafemt

aafemt commented Jan 30, 2017

Copy link
Copy Markdown
Contributor Author

IscStatement cannot be in anonymous namespace anymore since it is used in declaration of YAttachment. Thus it has been moved into Why namespace.

@hvlad

hvlad commented Jan 30, 2017

Copy link
Copy Markdown
Member

It could be done in different commits to separate the logic from refactoring

@aafemt

aafemt commented Jan 30, 2017

Copy link
Copy Markdown
Contributor Author

It could, yes.
The only changed pieces are IscStatement::~IscStatement() and IscStatement::destroy(). The rest of IscStatement code was copy-pasted untouched.

@asfernandes

Copy link
Copy Markdown
Member

Observations for all PRs: please put the ticket description, not only the number.

@aafemt aafemt changed the title Fix for CORE-5469 Fix for CORE-5469: Handles allocated with isc_dsql_alloc_statement2() are not cleaned on disconnect Jan 31, 2017
@AlexPeshkoff AlexPeshkoff merged commit 50c2148 into FirebirdSQL:master Feb 2, 2017
@AlexPeshkoff

Copy link
Copy Markdown
Member

Dmitry please prepare same PR for 3.0 - it should be backported before closing ticket

@aafemt

aafemt commented Feb 2, 2017 via email

Copy link
Copy Markdown
Contributor Author

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.

4 participants