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

Ensure chunking 'where' clause handled separately #57

Merged
merged 1 commit into from
Oct 17, 2013

Conversation

rentalcustard
Copy link
Contributor

Fixes a bug where the migration:

Lhm.change_table :foo do |t|
  t.filter "where foo.bar = 'baz' and foo.baz = 'quux'"
end

resulted in select statements with the wrong priority.

Now, all user-specified where conditions will be put in
parens.

Fixes a bug where the migration:

Lhm.change_table :foo do |t|
  t.filter "where foo.bar = 'baz' and foo.baz = 'quux'"
end

resulted in select statements with the wrong priority.

Now, all user-specified where conditions will be put in
parens.
edmundsalvacion added a commit that referenced this pull request Oct 17, 2013
Ensure chunking 'where' clause handled separately
@edmundsalvacion edmundsalvacion merged commit 72eaa33 into master Oct 17, 2013
@orien orien mentioned this pull request Jul 21, 2014
@arthurnn arthurnn deleted the fix-compound-wheres branch January 16, 2015 03:49
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.

2 participants