Skip to content

Commit

Permalink
Back out unnecessary commit statement.
Browse files Browse the repository at this point in the history
  • Loading branch information
vincode-io committed Mar 26, 2022
1 parent f68836f commit 671a402
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions SyncDatabase/Sources/SyncDatabase/SyncStatusTable.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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)"
Expand Down

0 comments on commit 671a402

Please sign in to comment.