Commit 63732921 authored by Simon Morlat's avatar Simon Morlat

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

This reverts commit 61b927af.
parent 2857b8fc
......@@ -91,7 +91,7 @@ static inline vector<char> blobToVector (soci::blob &in) {
if (!len)
return vector<char>();
vector<char> out(len);
in.read_from_start(&out[0], len);
in.read(0, &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