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