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

CRM-20428: refactored sourceSQLFile #10216

Conversation

JohnFF
Copy link
Contributor

@JohnFF JohnFF commented Apr 22, 2017

Refactored sourceSQLFile by creating a separate function to run the SQL piece.

This means that sourceSQLFile no longer has an 'isQueryString' variable, which was used to pass an SQL query in the filename parameter.

This originally arose from cf36946 where a mistake was nearly introduced because the paramerter filename could actually be an SQL query, not a file name, as the name filename implied.


… function to run the SQL piece. This means that sourceSQLFile no longer has an 'isQueryString' variable, which was used to pass an SQL query in the filename parameter.
Copy link
Contributor

@seamuslee001 seamuslee001 left a comment

Choose a reason for hiding this comment

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

This looks good to me

@eileenmcnaughton
Copy link
Contributor

yeah - that is clearer!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants