List:MySQL++« Previous MessageNext Message »
From:J Robinson Date:July 18 2005 4:19pm
Subject:mysqlpp 2.0beta
View as plain text  
Hello Everyone:

I've been playing with porting my C++ app to use
mysql++ 2.0 instead of mysql++ 1.7.  Looks good
overall. Nice work, Warren and everyone!

One question: I'd like to be able to maintain one code
base that works with 1.7 and 2.0 for the next while.  

Is there a #define (or other methodology) I can use to
detect the version of mysql++ installed and
conditionally compile code for mysqlpp 1.7.XX or 2.0
as appropriate?  

(The actual incompatibility I'm running into is that
1.7.xx supplies "Result operator [] int",  and 2.0
supplies "Result.at()" (if memory serves).

Also (I know, I said one question): Maybe there should
also be a list of API changes between 1.7.xx and 2.0.

Thanks, jrobinson

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
Thread
mysqlpp 2.0betaJ Robinson18 Jul
  • Re: mysqlpp 2.0betaWarren Young18 Jul
  • Re: mysqlpp 2.0betaChris Frey21 Jul
    • Re: mysqlpp 2.0betaWarren Young22 Jul
      • Re: mysqlpp 2.0betaChris Frey22 Jul
        • Re: mysqlpp 2.0betaWarren Young22 Jul
          • Re: mysqlpp 2.0betaChris Frey30 Jul
            • Re: mysqlpp 2.0betaChris Frey30 Jul
            • Re: mysqlpp 2.0betaWarren Young1 Aug