As reply,I got source code of query.cpp(r2483) from
svn(http://svn.gna.org/viewcvs/*checkout*/mysqlpp/trunk/lib/query.cpp?rev=2483)
to override query.cpp (v 3.0.9)and try to recompile it but got an error:
-------------------------------------------
lib/query.cpp: In member function `size_t
mysqlpp::Query::escape_string(std::string*, const char*, size_t) const':
lib/query.cpp:111: error: no matching function for call to
`mysqlpp::DBDriver::escape_string(std::string*&, const char*&, size_t&)'
lib/dbdriver.h:185: note: candidates are: size_t
mysqlpp::DBDriver::escape_string(char*, const char*, size_t)
lib/query.cpp:116: error: no matching function for call to
`mysqlpp::DBDriver::escape_string_no_conn(std::string*&, const char*&,
size_t&)'
lib/dbdriver.h:193: note: candidates are: static size_t
mysqlpp::DBDriver::escape_string_no_conn(char*, const char*, size_t)
lib/query.cpp: In member function `void
mysqlpp::Query::proc(mysqlpp::SQLQueryParms&)':
lib/query.cpp:424: error: 'class mysqlpp::SQLTypeAdapter' has no member
named 'is_null'
--------------------------------------------
Warren Young a écrit :
> On Mar 12, 2009, at 9:14 PM, Alex Luya wrote:
>
>> I have asked this,but can no understand your answer.
>
> In my previous response, I said that I had discovered a problem in
> MySQL++, which is what is preventing you from doing what you want.
> The fix is in the svn repository -- look for "svn" on the MySQL++ home
> page. If you don't want to use this unreleased code, you can wait for
> 3.1.0 to come out, which is the next release, and so will have the
> fix. That isn't going to happen soon, so I recommend you look at the
> svn code.
>
> ------------------------------------------------------------------------
>
>
> No virus found in this incoming message.
> Checked by AVG - www.avg.com
> Version: 8.0.237 / Virus Database: 270.11.10/1996 - Release Date: 03/11/09 20:42:00
>
>