equal
deleted
inserted
replaced
49 void startRelation(string_t name, std::vector<AttributeMetadata> attributes) override { |
49 void startRelation(string_t name, std::vector<AttributeMetadata> attributes) override { |
50 |
50 |
51 } |
51 } |
52 |
52 |
53 void attribute(const string_t& value) override { |
53 void attribute(const string_t& value) override { |
54 output << convertor.to_bytes(value).c_str(); |
54 const std::string octets = convertor.to_bytes(value); |
|
55 for (char ch : octets) output.put(ch ? ch : '@'); |
55 output.put(0); |
56 output.put(0); |
56 } |
57 } |
57 |
58 |
58 void endOfPipe() { |
59 void endOfPipe() { |
59 output.flush(); |
60 output.flush(); |