--- a/include/RelationalWriter.h Sat Jul 21 19:04:37 2018 +0200
+++ b/include/RelationalWriter.h Sat Jul 21 22:37:25 2018 +0200
@@ -18,7 +18,7 @@
virtual string_t toTypeCode(const integer_t typeId) = 0;
- virtual void startRelation(std::vector<std::pair<string_t, string_t>> attributes, boolean_t writeHeader) = 0;
+ virtual void startRelation(string_t name, std::vector<std::pair<string_t, string_t>> attributes, boolean_t writeHeader) = 0;
virtual void writeRecord(std::vector<string_t> attributes) = 0;
--- a/src/StreamRelationalWriter.h Sat Jul 21 19:04:37 2018 +0200
+++ b/src/StreamRelationalWriter.h Sat Jul 21 22:37:25 2018 +0200
@@ -43,7 +43,7 @@
throw RelpipeWriterException(L"Unsupported data type: " + typeId);
}
- void startRelation(std::vector<std::pair<string_t, string_t> > attributes, boolean_t writeHeader) override {
+ void startRelation(string_t name, std::vector<std::pair<string_t, string_t> > attributes, boolean_t writeHeader) override {
output << "startRelation(…)" << std::endl;
}