List:MySQL++« Previous MessageNext Message »
From:Alex Luya Date:March 17 2009 3:19am
Subject:How to ?
View as plain text  
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
>
>   


Thread
How to push NULL into template query?Alex Luya11 Mar
  • Re: How to push NULL into template query?Warren Young11 Mar
  • Re: How to push NULL into template query?Alex Luya13 Mar
    • How to construct a SQLQueryParms?Alex Luya13 Mar
    • Re: How to push NULL into template query?Warren Young13 Mar
      • How to ?Alex Luya17 Mar
        • How to build from svn r2483?Alex Luya17 Mar
        • Re: How to ?Warren Young17 Mar
          • Re: How to ?Many files does not exist or is incomplete or subfixedwith .inAlex Luya18 Mar
            • Re: How to ?Many files does not exist or is incomplete or subfixedwith .inWarren Young18 Mar
              • got another errorAlex Luya18 Mar
                • Re: got another errorWarren Young19 Mar
                  • got another error after got another errorAlex Luya20 Mar
                    • Re: got another error after got another errorWarren Young20 Mar
                      • Re: got another error after got another errorWarren Young21 Mar
              • Got all files from running ./bootstracp,but compile errorAlex Luya19 Mar