Skip to content
Snippets Groups Projects
Commit ef4ad598 authored by Michael Davis's avatar Michael Davis
Browse files

[catalogue] Fixes unit tests for Postgres

parent 38ca4af6
Branches
Tags
No related merge requests found
......@@ -152,12 +152,12 @@ RdbmsCatalogueGetArchiveFilesItor::RdbmsCatalogueGetArchiveFilesItor(
if(searchCriteria.diskFileIds) {
if(addedAWhereConstraint) sql += " AND ";
sql += "ARCHIVE_FILE.DISK_FILE_ID IN ";
char delim = '(';
std::string delim = "('";
for(auto &diskFileId : searchCriteria.diskFileIds.value()) {
sql += delim + diskFileId;
delim = ',';
delim = "','";
}
sql += ')';
sql += "')";
addedAWhereConstraint = true;
}
if(hideSuperseded) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment