Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2019-02-07 | DB/remove_archive: Properly handle cases where the DB is empty after removal | Florian Pritz | 1 | -0/+49 | |
Empty here means that the DB does not contain any backup archive information because all information that is already in the db has to be removed. The old code tries to copy existing data into the new table, but since there are no archives to copy data for, the sql query fails. Also, it would copy all rows and only populate the path column, but if there are no archives that have timestamps, that's actually useless work. This patch ensures that the table is kept empty if there are no archives. Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2019-02-07 | t/handle_added_archives: Document weird test | Florian Pritz | 1 | -3/+3 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2019-02-07 | t/handle_added_archives: Add test for removal of archives | Florian Pritz | 1 | -0/+23 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2018-09-13 | handle_added_archives_with_db.t: Add file that is removed in second backup | Florian Pritz | 1 | -0/+6 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2018-09-12 | handle_added_archives_with_db.t: Add 2nd top level directory to test | Florian Pritz | 1 | -0/+21 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2018-09-09 | Test if adding an archive updates existing rows correctly | Florian Pritz | 1 | -0/+79 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2018-09-09 | handle_added_archives_with_db.t: Extend to verify that PathTimeTable/DB ↵ | Florian Pritz | 1 | -0/+10 | |
caching doesn't cause problems Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2018-09-09 | handle_added_archives_with_db.t: Use new_no_defaults instead of new | Florian Pritz | 1 | -3/+1 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2018-09-09 | Use strictures instead of strict/warnings | Florian Pritz | 1 | -2/+1 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2018-09-08 | Add TAP log adapter to all tests | Florian Pritz | 1 | -0/+1 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2018-09-06 | t/handle_added_archives: Check for paths that should not be part of the db | Florian Pritz | 1 | -0/+2 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2018-09-06 | Test handled_added_archives with Memory and DB storage | Florian Pritz | 1 | -30/+35 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2018-09-06 | Add handle_added_archives db test | Florian Pritz | 1 | -0/+42 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> |