Back out unnecessary commit statement.
This commit is contained in:
parent
f68836fd74
commit
671a402845
|
@ -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)"
|
||||
|
|
Loading…
Reference in New Issue