Hey Gerwin,

MySQL doesn't treat the BLOB or TEXT types specially, the is no
file-like abstraction like in some other databases.  The only way for
SOCI to support a consistent API would be to add a layer of emulation,
which could be very inefficient.  That's why it's not supported.  When
using MySQL, the best way is to just insert and select BLOB and TEXT
fields like any other fields.

Thanks,

Aleksander

On Tue, Feb 23, 2010 at 6:55 AM, Gerwin Pfab <[email protected]> wrote:
> Thank you all for that great library!
>
> I'm are currently using SOCI from the Git tarball 2010-01-25
> b2b614bc3f323bf99f0c11e680dba06a32ff89df
>
> This is almost perfect, but one thing would be essential for us: Support for
> soci::blob for the mysql backend.
>
> Are there plans to add it in the near future?
>
> Kind Regards
>
> Gerwin Pfab
>
> ------------------------------------------------------------------------------
> Download Intel&#174; Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Soci-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/soci-users
>

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Soci-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/soci-users

Reply via email to