On Tue, Mar 13, 2007 at 07:11:08AM +1100, Bojan Smojver wrote: > On Mon, 2007-03-12 at 14:11 +0000, Nick Kew wrote: > > +1. I wonder if we could extend that to database versions too, > > where there are minor but important API version differences, > > and #ifdefs (as between MySQL 4.1 and 5.0). > > In this scenario where people may want to have both MySQL 4.x and 5.x > support simultaneously, two drivers may be required. Then at load time > they could be referred to as mysql4 and mysql5, which would then pull in > apr_dbd_mysql4/5.so, as required.
AFAIK all versions of libmysqlclient use the same symbol namespace so those kind of tricks aren't possible in general. joe