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

Written By
September 22, 2009 02:40AM
Re: Is there an example using a Blob ?
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.