Back out unnecessary commit statement.

This commit is contained in:
Maurice Parker 2022-03-26 16:15:43 -05:00
parent bf76aae903
commit 2bcbe58901
1 changed files with 0 additions and 2 deletions

View File

@ -30,8 +30,6 @@ struct SyncStatusTable: DatabaseTable {
let updateSQL = "update syncStatus set selected = true" let updateSQL = "update syncStatus set selected = true"
database.executeUpdate(updateSQL, withArgumentsIn: nil) database.executeUpdate(updateSQL, withArgumentsIn: nil)
database.commit()
var selectSQL = "select * from syncStatus where selected == true" var selectSQL = "select * from syncStatus where selected == true"
if let limit = limit { if let limit = limit {
selectSQL = "\(selectSQL) limit \(limit)" selectSQL = "\(selectSQL) limit \(limit)"