Jonathan, Thanks for your great suggestion. I found the mysql++ was better than mysqlcppapi, the later also has Unicode problem when using it.
-Kevinew
-----邮件原件-----
发件人: jon...@gm... [mailto:jon...@gm...] 代表 Jonathan Wakely
发送时间: 2011年2月25日 18:45
收件人: 刘文凯
抄送: mys...@li...
主题: Re: [Mysqlcppapi-main] Crash when the sql.store() of mysqlcppapi is called
2011/2/25 刘文凯 :
>
> My process started last night,and crashed this morning.
>
> http://forums.mysql.com/read.php?10,409342,409342#msg-409342
>
> does anyone confront the problem same to me? Thanks!
It's throwing an exception because of an error executing the query.
You need to catch the exception to find out what the error is.
You should consider using mysql++ instead of mysqlcppapi.
http://tangentsoft.net/mysql++
|