aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/validations
diff options
context:
space:
mode:
authorVipul A M <vipulnsward@gmail.com>2016-04-22 17:58:16 +0530
committerVipul A M <vipulnsward@gmail.com>2016-04-23 03:18:13 +0530
commit6e098284e97250eaed6f30f5c7c362d87da986b0 (patch)
tree6203ea065e135546079ba858cac3bf37f3b530b4 /activerecord/test/cases/validations
parent2700a1aa43201a1d4cfbe4a8141291ef4b7e7653 (diff)
downloadrails-6e098284e97250eaed6f30f5c7c362d87da986b0.tar.gz
rails-6e098284e97250eaed6f30f5c7c362d87da986b0.tar.bz2
rails-6e098284e97250eaed6f30f5c7c362d87da986b0.zip
https://github.com/rails/rails/commit/42dd2336b31a8d98776d039a2b9fd7f834156a78 changed INSERT INTO versions to run in 1 single query.
This breaks for sqlite versions < 3.7.11, which is especially the case on Ubuntu 12.04 LTS, that has SQLite version 3.7.9 as default. So we check for support for multi insert, before performing single query inserts, else fallback to older version of running multiple queries. [Vipul A M & Yasuo Honda]
Diffstat (limited to 'activerecord/test/cases/validations')
0 files changed, 0 insertions, 0 deletions