go-sqlite3
go-sqlite3 copied to clipboard
Rollback on constraint failure
This fixes an issue where deferred constraints can leave the transaction in an inconsistent state. In the event of a failed deferred constraint, we need to issue a rollback in order to make a transaction startable later.