List:MySQL++« Previous MessageNext Message »
From:Mickael Wolff Date:June 5 2013 8:16pm
Subject:Re: Mysql connection is disconnected after a query in 64 bit
View as plain text  
On 06/05/2013 07:39 PM, Marc-André Lavigne wrote:

> mysqlpp::Connection* conn = mDataSource->GetConnection();
> if(conn != NULL&&  conn->connected())
> {
>                  mysqlpp::Query query = conn->query(queryStr.c_str());
>                  LOG_ERROR(format("1------ IsConnected()=%1%") %
> conn->connected());
>                  query.storein(*result);
>                  success = query;
>                  LOG_ERROR(format("2------ IsConnected()=%1%") %
> conn->connected());
> }
>

   Can you please provide a full example with the command line to 
compile the example?

   And can you tell us how you did install MySQL++ (package manager, or 
compiling/cross-compiling).

   The logging activity of mysqld could help as well.
Thread
Mysql connection is disconnected after a query in 64 bitMarc-AndrĂ© Lavigne5 Jun
  • Re: Mysql connection is disconnected after a query in 64 bitMickael Wolff5 Jun
    • RE: Mysql connection is disconnected after a query in 64 bitMarc-AndrĂ© Lavigne10 Jun