mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-26 04:07:50 +00:00
Remove useless code
This commit is contained in:
1 parent
e4073cbe9a
commit
bbf8e773f8
1 file changed
+1
-5
@@ -221,11 +221,7 @@ extension Database {
|
||||
|
||||
extension Database {
|
||||
func executeUpdateStatement(_ statement: UpdateStatement) throws {
|
||||
// In aborted transaction, forbid all statements but statements that
|
||||
// manage transactions.
|
||||
if statement.transactionEffect == nil {
|
||||
try checkForAbortedTransaction(sql: statement.sql, arguments: statement.arguments)
|
||||
}
|
||||
try checkForAbortedTransaction(sql: statement.sql, arguments: statement.arguments)
|
||||
try checkForLockPrevention(from: statement)
|
||||
|
||||
let authorizer = observationBroker.updateStatementWillExecute(statement)
|
||||
|
||||
Reference in new issue
Block a user