diff options
author | Alex Rothenberg <alex@alexrothenberg.com> | 2010-11-23 09:47:41 -0500 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2010-12-02 08:53:19 -0800 |
commit | deb90d9485516832d86afcf6e6810e1c98c836ab (patch) | |
tree | 35dbef8275a3e089d277d379d359b844516858a1 /activerecord | |
parent | 077ec5a0ed3459816a4666364c722bb512c09bc7 (diff) | |
download | rails-deb90d9485516832d86afcf6e6810e1c98c836ab.tar.gz rails-deb90d9485516832d86afcf6e6810e1c98c836ab.tar.bz2 rails-deb90d9485516832d86afcf6e6810e1c98c836ab.zip |
made in_clause_length default nil (no limit)
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/abstract/database_limits.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/abstract/database_limits.rb b/activerecord/lib/active_record/connection_adapters/abstract/database_limits.rb index a130c330dd..29ac9341ec 100644 --- a/activerecord/lib/active_record/connection_adapters/abstract/database_limits.rb +++ b/activerecord/lib/active_record/connection_adapters/abstract/database_limits.rb @@ -37,9 +37,9 @@ module ActiveRecord 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 |