From 671a402845e2a242c5e38182aedb1bc94f86707b Mon Sep 17 00:00:00 2001 From: Maurice Parker Date: Sat, 26 Mar 2022 16:15:43 -0500 Subject: [PATCH] Back out unnecessary commit statement. --- SyncDatabase/Sources/SyncDatabase/SyncStatusTable.swift | 2 -- 1 file changed, 2 deletions(-) diff --git a/SyncDatabase/Sources/SyncDatabase/SyncStatusTable.swift b/SyncDatabase/Sources/SyncDatabase/SyncStatusTable.swift index 286b50b11..0ab0d80cb 100644 --- a/SyncDatabase/Sources/SyncDatabase/SyncStatusTable.swift +++ b/SyncDatabase/Sources/SyncDatabase/SyncStatusTable.swift @@ -30,8 +30,6 @@ struct SyncStatusTable: DatabaseTable { let updateSQL = "update syncStatus set selected = true" database.executeUpdate(updateSQL, withArgumentsIn: nil) - database.commit() - var selectSQL = "select * from syncStatus where selected == true" if let limit = limit { selectSQL = "\(selectSQL) limit \(limit)"