Related to #355225: Inconsistant Insert Queries Between Database Drivers: we mandate multi-values insert queries to be atomic on all engines that support transactions, and this is the case of SQLite. For this to work, we need to explicitly add ON CONFLICT ROLLBACK to our insert queries (the default is ON CONFLICT ABORT that just abort the current query).
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 357470-sqlite-insert-rollback.patch | 2.23 KB | damien tournoud |
Comments
Comment #1
damien tournoud commentedHere we are.
Comment #2
damien tournoud commentedComment #3
Crell commentedWhy was this set back to needs work? Are we going to resolve this in D7, or push it to D8?
Comment #4
catchDowngrading, this is a straight bug.
Comment #5
ddorian commented#1: 357470-sqlite-insert-rollback.patch queued for re-testing.
Comment #7
andypostThis could be used to fix #715108: Make Merge queries more consistent and robust
http://www.sqlite.org/lang_conflict.html
Comment #8
damien tournoud commentedActually, no. We fixed the base implementation to properly rollback in case of error.