aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/adapters/postgresql/xml_test.rb
diff options
context:
space:
mode:
authorSean Griffin <sean@seantheprogrammer.com>2016-12-05 14:07:39 -0500
committerSean Griffin <sean@seantheprogrammer.com>2016-12-05 14:07:39 -0500
commitfd87169eb11fc4cfd9082dabe0a85f3bfa385c29 (patch)
tree596be4df7d0d523dc5a1734eaef620dcefe98a17 /activerecord/test/cases/adapters/postgresql/xml_test.rb
parentd8533e116e9f951f0dd9c2abcc916627ff49dd64 (diff)
downloadrails-fd87169eb11fc4cfd9082dabe0a85f3bfa385c29.tar.gz
rails-fd87169eb11fc4cfd9082dabe0a85f3bfa385c29.tar.bz2
rails-fd87169eb11fc4cfd9082dabe0a85f3bfa385c29.zip
Don't try to run multiple insert queries at once
SQLite's default query interface ignores anything after the first semicolon in a query. This is actually quite common behavior in database drivers, especially when dealing with code paths for prepared statements (which we are). While this should only affect SQLite, as I'm not aware of any drivers which don't support multi-insert. Even if this does affect other third party drivers though, I'd prefer not to assume that more than one query can be executed per call to `execute`. Fixes #26948. Close #27242.
Diffstat (limited to 'activerecord/test/cases/adapters/postgresql/xml_test.rb')
0 files changed, 0 insertions, 0 deletions