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

Deprecate in_clause_length in DatabaseLimits #39057

Merged
merged 1 commit into from Apr 27, 2020

Conversation

kamipo
Copy link
Member

@kamipo kamipo commented Apr 26, 2020

in_clause_length was added at c5a284f to address to Oracle IN clause
length limitation.

Now in_clause_length is entirely integrated in Arel visitor since
#35838 and #36074.

Since Oracle visitors are the only code that rely on in_clause_length.
so I'd like to remove that from Rails code base, like has removed Oracle
visitors (#38946).

cc @yahonda @koic

`in_clause_length` was added at c5a284f to address to Oracle IN clause
length limitation.

Now `in_clause_length` is entirely integrated in Arel visitor since
rails#35838 and rails#36074.

Since Oracle visitors are the only code that rely on `in_clause_length`.
so I'd like to remove that from Rails code base, like has removed Oracle
visitors (rails#38946).
yahonda added a commit to yahonda/oracle-enhanced that referenced this pull request Apr 26, 2020
yahonda added a commit to yahonda/oracle-enhanced that referenced this pull request Apr 26, 2020
yahonda added a commit to yahonda/oracle-enhanced that referenced this pull request Apr 26, 2020
kamipo added a commit to kamipo/activerecord-sqlserver-adapter that referenced this pull request Apr 27, 2020
Since rails/rails#36074, `in_clause_length` will
no longer help the adapter to avoid complex query limitation, and will
be removed from Rails code base (rails/rails#39057).
@kamipo kamipo merged commit 3de9669 into rails:master Apr 27, 2020
@kamipo kamipo deleted the deprecate_in_clause_length branch April 27, 2020 06:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant