MySQL Forums
Forum List  »  Connector/C++

Re: Is there an example using a Blob ?
Posted by: Lawrin Novitsky
Date: October 15, 2009 06:00AM

You can find some examples in c/c++ tests, but at least some of them are using strstream.

you can also use setString method for blob, but then you'll need to construct std::string.

your code looks ok for me at first glance.

but i think strstream constructor does copy of the buffer, and then release that created copy.

Options: ReplyQuote


Subject
Views
Written By
Posted
8906
September 22, 2009 02:40AM
Re: Is there an example using a Blob ?
3264
October 15, 2009 06:00AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.