(tx *database.DB, val int)
| 1029 | } |
| 1030 | |
| 1031 | func updateLastMaxUSN(tx *database.DB, val int) error { |
| 1032 | if err := database.UpdateSystem(tx, consts.SystemLastMaxUSN, val); err != nil { |
| 1033 | return errors.Wrapf(err, "updating %s", consts.SystemLastMaxUSN) |
| 1034 | } |
| 1035 | |
| 1036 | return nil |
| 1037 | } |
| 1038 | |
| 1039 | func updateLastSyncAt(tx *database.DB, val int64) error { |
| 1040 | if err := database.UpdateSystem(tx, consts.SystemLastSyncAt, val); err != nil { |
no test coverage detected