I wrote my own wpdb class (for a different database) and have been using it with WordPress since version 1.something.
In moving to 3.1 (from 2.8) I am getting a 'cannot redefine class wpdb...' error because in install.php the wp-db.php file is loaded without first checking for the existence of wp-content/db.php
Also, it looks like the require_wp_db function in load.php now always loads wp-db.php before looking for db.php.
If I add the checks to load my class first, WordPress seems to work fine with my class (after updating it for 3.1 of course).
Have the rules/requirements/support changed for implementing a custom db.php? If so, can someone point me to the new docs. I haven't been able to find anything.
Thanks,
--Jason