# HG changeset patch # User František Kučera # Date 1532205445 -7200 # Node ID 27bc67e7c80f03263bd276999949136bf61c97d4 # Parent 40ab091e5dfa6113cc91effc020ed2fb74edd8da add table name to startRelation() diff -r 40ab091e5dfa -r 27bc67e7c80f include/RelationalWriter.h --- 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> attributes, boolean_t writeHeader) = 0; + virtual void startRelation(string_t name, std::vector> attributes, boolean_t writeHeader) = 0; virtual void writeRecord(std::vector attributes) = 0; diff -r 40ab091e5dfa -r 27bc67e7c80f src/StreamRelationalWriter.h --- 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 > attributes, boolean_t writeHeader) override { + void startRelation(string_t name, std::vector > attributes, boolean_t writeHeader) override { output << "startRelation(…)" << std::endl; }