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

Eliminate the duplication code of StatementPool #20211

Merged
merged 1 commit into from May 19, 2015

Conversation

kamipo
Copy link
Member

@kamipo kamipo commented May 19, 2015

No description provided.

rafaelfranca added a commit that referenced this pull request May 19, 2015
Eliminate the duplication code of `StatementPool`
@rafaelfranca rafaelfranca merged commit ed0edb2 into rails:master May 19, 2015
@kamipo kamipo deleted the refactor_statement_pool branch May 19, 2015 18:43
stmt.close
else
@statements.delete sql
end
Copy link
Member

Choose a reason for hiding this comment

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

Err, that comment says "and". Either this code change is wrong, or the comment needs to be fixed to match.

Copy link
Member Author

Choose a reason for hiding this comment

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

@statements.delete contains even to close the statement.
This code is correct. I think should be corrected the comment.

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.

None yet

4 participants