file mgr db unit tests and fixes
All checks were successful
BlockStorage/repertory/pipeline/head This commit looks good
All checks were successful
BlockStorage/repertory/pipeline/head This commit looks good
This commit is contained in:
@@ -192,7 +192,6 @@ auto sqlite_file_mgr_db::get_resume_list() const -> std::vector<resume_entry> {
|
|||||||
auto sqlite_file_mgr_db::get_upload(const std::string &api_path) const
|
auto sqlite_file_mgr_db::get_upload(const std::string &api_path) const
|
||||||
-> std::optional<upload_entry> {
|
-> std::optional<upload_entry> {
|
||||||
auto result = utils::db::sqlite::db_select{*db_, upload_table}
|
auto result = utils::db::sqlite::db_select{*db_, upload_table}
|
||||||
.column("source_path")
|
|
||||||
.where("api_path")
|
.where("api_path")
|
||||||
.equals(api_path)
|
.equals(api_path)
|
||||||
.go();
|
.go();
|
||||||
|
Reference in New Issue
Block a user