  | | | Storing BLOB using C constructs and no STL(string, streams etc) | Storing BLOB using C constructs and no STL(string, streams etc) 2006-11-19 - By Ankur G35 Saxena
Back Hi,
I need help in convertin this piece of code in C strings rather than streams and strings. can someone please help me out with the use of escape in char*.
c_struct is a C structure with some char buffers and int values.
string fill((char*)c_struct, len);
setQ << "UPDATE Info.Paid SET InfoStruct=\"" << mysqlpp::escape << fill << "\" WHERE ID='" << val_chk << "'" << ends;
Thanks. Ankur
-- MySQL++ Mailing List For list archives: http://lists.mysql.com/plusplus To unsubscribe: http://lists.mysql.com/plusplus?unsub=mysql@(protected)
|
|
 |