Commit 61b927af authored by Ronan's avatar Ronan
Browse files

fix(MainDb): read is blacklisted by soci, use read_from_start instead on Windows

parent 82f19505
......@@ -91,7 +91,7 @@ static inline vector<char> blobToVector (soci::blob &in) {
if (!len)
return vector<char>();
vector<char> out(len);, &out[0], len);
in.read_from_start(&out[0], len);
return out;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment