It would be good to keep the old Connection when you add new one. I am
happy with the old one. Maybe using std::string instead of cchar* makes
the code more C++ way.
By the way, thank you for your hard work on SSQLS and BLOB. I tested
v2.3.2 and they are working perfectly.
From: Warren Young [mailto:mysqlpp@stripped]
Sent: Friday, 13 July 2007 1:21 PM
To: MySQL++ Mailing List
Subject: Connection::connect() interface is changing
I have started work on MySQL++ v3.0.
My task at the moment is cleaning up the connection establishment
interface. I have something I like, but I thought I'd run it past the
list just in case.
The first thing is that we're dropping the parameters for turning on
compression and setting the connection timeout. You can set those
through Connection::set_option() instead.
The parameters for the communication channel are a mess. In v2 there
are three of them, you can't use all of them at once, and together they
select among at least four different types of IPC. (See the
mysql_real_connect() docs if you disbelieve!) I've pushed this
complexity out of the interface and into the implementation of
Connection; there's now just one string parameter for all of this, with
a bit of clever parsing within the class to figure out what you mean.
None of that should cause problems.