|
Storing BLOB using C constructs and no STL(string, streams etc): msg#00037db.mysql.c++
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=gcdmc-plusplus@xxxxxxxxxxx |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Compile Error/Code Issue: 00037, Joel Fielder |
|---|---|
| Next by Date: | Re: Exception of type std::length_error: 00037, Mathieu Pagé |
| Previous by Thread: | How to delete a row in mysql++i: 00037, gary clark |
| Next by Thread: | Re: Storing BLOB using C constructs and no STL(string, streams etc): 00037, Warren Young |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |