Philippe Dirkse wrote:
I was curious whether there was
a specific reason for the way the thing is currently implemented.
Yes: MySQL++ had no decent BLOB support at all until recently.
Row::raw_data() is a low-level mechanism, not something we want to
encourage people to use. It's better to extend the current high-level
mechanisms to support BLOBs better than to add sugar to the low-level
mechanisms.
If you want to help move this along, see the Wishlist. v2.3 will be
very heavily BLOB oriented. (Beware that I'm working on v2.3 right now,
though, so please coordinate with me if you want to start tackling some
of the items on the Wishlist.)