List:MySQL++« Previous MessageNext Message »
From:Earl Miles Date:May 25 2005 8:40pm
Subject:Re: Can you have more than one active mysqlpp::Connection object?
View as plain text  
Chris Frey wrote:
> Note that ColData provides casting conversions, so you can cast that data
> to std::string, int, long, etc, and ColData will try to make the conversion
> for you.  The temporary will still disappear though, so making your own copy is
> likely the most efficient method.

Tho casting it to std::string automatically copies it; (of course, using 
a temporary and then using c_str() off of that will still give you a 
bogus result that will mostly work except when it won't)


Thread
Can you have more than one active mysqlpp::Connection object?Byrial Jensen24 May
  • Re: Can you have more than one active mysqlpp::Connection object?Earl Miles24 May
  • Re: Can you have more than one active mysqlpp::Connection object?Warren Young24 May
    • Re: Can you have more than one active mysqlpp::Connection object?Byrial Jensen25 May
      • Re: Can you have more than one active mysqlpp::Connection object?Earl Miles25 May
        • Re: Can you have more than one active mysqlpp::Connection object?Chris Frey25 May
          • Re: Can you have more than one active mysqlpp::Connection object?Chris Frey25 May
            • Re: Can you have more than one active mysqlpp::Connection object?Earl Miles25 May
          • Re: Can you have more than one active mysqlpp::Connection object?Byrial Jensen25 May
            • Re: Can you have more than one active mysqlpp::Connection object?Warren Young26 May
              • Re: Can you have more than one active mysqlpp::Connection object?Byrial Jensen26 May
                • Re: Can you have more than one active mysqlpp::Connection object?Warren Young26 May