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

Escape table name in select_limit and select_start methods #59

Conversation

stevehodgkiss
Copy link
Contributor

Escape the table name so LHM works with tables named with reserved words.

@johnsyweb
Copy link

👍

@arthurnn
Copy link
Contributor

LGTM

@arthurnn
Copy link
Contributor

@stevehodgkiss can you add some regression tests too?

@grobie
Copy link
Contributor

grobie commented Jan 1, 2014

Yeah, some tests would be cool, happy to merge then.

@stevehodgkiss
Copy link
Contributor Author

Added an integration test that checks the methods accepting table/column/index names on Lhm::Migrator work with reserved words.

@arthurnn
Copy link
Contributor

arthurnn commented Jan 1, 2014

LGTM

@grobie
Copy link
Contributor

grobie commented Jan 1, 2014

Nice work! Thanks

grobie added a commit that referenced this pull request Jan 1, 2014
…_limit_and_start_methods

Escape table name in select_limit and select_start methods
@grobie grobie merged commit 28c30da into soundcloud:master Jan 1, 2014
@spickermann spickermann mentioned this pull request Jan 9, 2014
@orien orien mentioned this pull request Jul 21, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants