Quantcast
Channel: MySQL Forums - Connector/C++
Viewing all articles
Browse latest Browse all 527

Insert update blob value converting from char *object and int length (no replies)

$
0
0
Hi,

I am running mysql in C++ on Debian platform. I have a small serialized msgpack object about 200 bytes, to run a statement to insert update the blob field, the blob value is from a buffer in char *object, int length, is any data type I can wrap the char *object and int length for the blob messageobject?

insert into mymessagetable (id, messageobject, timestamp) value (1, convertToBlob(object, length), 1549104102)

Thank you.

Viewing all articles
Browse latest Browse all 527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>