[odb-users] Persisting empty binary values error. Microsoft SQL Server

Boris Kolpackov boris at codesynthesis.com
Sat May 23 10:13:40 EDT 2015


Hi Andrey,

Andrey Paraskevopulo <andrey.psv at gmail.com> writes:
 
> After short investigation I think that I’ve found the error.
> 
> [...]
> 
> *buffer = &v.front ();

Yes, good catch. Your fix is also good. I have applied a C++98-
compatible version of it for the next release:

http://scm.codesynthesis.com/?p=odb/libodb-mssql.git;a=commit;h=539b70c28091a7cdfc0abe106102a151f075e6ef

We also had the same issue in libodb-oracle, also fixed:

http://scm.codesynthesis.com/?p=odb/libodb-oracle.git;a=commit;h=69f440cf8c0bd4a9cce1d97cce2ebb54cee6dd0f

Thanks for reporting this!

Boris



More information about the odb-users mailing list