-
Notifications
You must be signed in to change notification settings - Fork 21.4k
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
Use SQLite3 3.7.15 which supports multiple values insert #24440
Use SQLite3 3.7.15 which supports multiple values insert #24440
Conversation
r? @senny (@rails-bot has picked a reviewer for you, use r? to override) |
4587bc5
to
de98a64
Compare
This broke the build so I had to revert. Could you take a look? |
Thanks for the reminder. Let me take a look at these build detail and will update. https://travis-ci.org/rails/rails/jobs/121052262 |
My guess is that the sqlite3 addons are not compatible with the PostgreSQL addon. Try removing the PostgreSQL addon temporarily as an experiment to see - then we know the problem to report to TravisCI folks. |
I am able to reproduce these 2 failures by upgrading SQLite version from 3.7.9 to 3.7.15 using Ubuntu 12.04 LTS. Summary
There may be something between 3.7.9 and 3.7.15.1. SQLite Release 3.7.15 was released on 2012-12-12 older than 3 years. No need to diagnose anymore since it does not reproduce using the newer version of SQLite 3.8.11.1. Looking forward Ubuntu 16.04 LTS released and available from Travis CI. Steps to reproduce (if you are interested in...)
|
Highlights include: - Stop deprecation notices relating to: - `:back` for redirects - `render nothing: true` - Rails 5.0 on using `to_hash` - `static_cache_control` - `before_filter` -> `before_action` - Compatibility shim to support params keywords in controller specs - Upgrade CI SQLite to avoid Rails 5.0 migration bug rails/rails#24440 - Upgrade CI Ruby to 2.3.1 - Upgrade Rack to version required by Rails 5.0 - Dummy app upgrade to Rails 5 (and downgrades to 4.x when required for tests)
Summary
This pull request updates SQLite3 database version to 3.7.15 when tested at Travis CI.
Since SQLite3 3.7.11 supports to insert multiple values in one statement.
Ref #24288 and travis-ci/apt-package-safelist#368