List:MySQL++« Previous MessageNext Message »
From:Linda Messerschmidt Date:August 19 2011 2:10pm
Subject:Re: MySQL++ not working with libstdc++6
View as plain text  
On Fri, Aug 19, 2011 at 7:18 AM, Ina J. <inarvaj@stripped> wrote:
> The complain is coming from this line of my code:
> mysqlpp::Query q = connection.query("SELECT * from Meter");
> and the connection has been connected successfully earlier.

I believe this is not correct.  Assigning something with a basic_ios
inside never works.

Try:

mysqlpp::Query q(connection.query("SELECT * from Meter"));
Thread
MySQL++ not working with libstdc++6Ina J.19 Aug
  • Re: MySQL++ not working with libstdc++6Linda Messerschmidt19 Aug
    • Re: MySQL++ not working with libstdc++6Jonathan Wakely19 Aug
      • Re: MySQL++ not working with libstdc++6Ina J.21 Aug
        • Re: MySQL++ not working with libstdc++6Ina J.22 Aug
          • Re: MySQL++ not working with libstdc++6Adrian Cornish22 Aug
            • Re: MySQL++ not working with libstdc++6Warren Young22 Aug
              • Re: MySQL++ not working with libstdc++6Adrian Cornish22 Aug
                • Re: MySQL++ not working with libstdc++6Ina J.23 Aug
                  • Re: MySQL++ not working with libstdc++6Ina J.23 Aug
                    • Re: MySQL++ not working with libstdc++6Jonathan Wakely23 Aug
                      • Re: MySQL++ not working with libstdc++6Ina J.23 Aug