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

This reverts commit 61b927afc2.
This commit is contained in:
Simon Morlat 2018-05-30 15:23:44 +02:00
parent 2857b8fc11
commit 63732921f9

View file

@ -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;
}