summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gentoobrowse-api/service/maintenancePackageTree.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gentoobrowse-api/service/maintenancePackageTree.cpp b/gentoobrowse-api/service/maintenancePackageTree.cpp
index 9735d53..2bcb860 100644
--- a/gentoobrowse-api/service/maintenancePackageTree.cpp
+++ b/gentoobrowse-api/service/maintenancePackageTree.cpp
@@ -165,7 +165,7 @@ R"DATA( 10 category metadata 2 2 {"(2,metadata.xml)"}
p.pk = { "filetypeId" };
p.cols = { "filetypeId", "description", "spec", "phase", "updateOrder" };
std::stringstream buf(fileTypes);
- dbc->beginBulkUpload(p.src.c_str(), "");
+ dbc->beginBulkUpload((p.src + "(filetypeid, description, phase, updateorder, spec)").c_str(), "");
dbc->bulkUploadData(buf);
dbc->endBulkUpload(nullptr);
dbc->patchTable(&p);