Permalink
Browse files

made in_clause_length default nil (no limit)

  • Loading branch information...
1 parent 077ec5a commit deb90d9485516832d86afcf6e6810e1c98c836ab @alexrothenberg alexrothenberg committed with tenderlove Nov 23, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 activerecord/lib/active_record/connection_adapters/abstract/database_limits.rb
@@ -37,9 +37,9 @@ def columns_per_multicolumn_index
16
end
- # the maximum number of elements in an IN (x,y,z) clause
+ # the maximum number of elements in an IN (x,y,z) clause. nil means no limit
def in_clause_length
- 65535
+ nil
end
# the maximum length of an SQL query

0 comments on commit deb90d9

Please sign in to comment.