Merge branch '2.3' into develop

This commit is contained in:
Markus Mäkelä
2019-06-20 13:00:13 +03:00
5 changed files with 25 additions and 16 deletions

View File

@ -585,6 +585,8 @@ GWBUF* read_avro_json_schema(std::string avrofile, std::string dir)
std::stringstream ss;
ss << file.rdbuf();
std::string text = ss.str();
mxs::rtrim(text);
text += '\n';
mxs::Buffer buffer(std::vector<uint8_t>(text.begin(), text.end()));
rval = buffer.release();
}