Index: includes/database.inc
===================================================================
RCS file: /cvs/drupal/drupal/includes/database.inc,v
retrieving revision 1.28
diff -u -r1.28 database.inc
--- includes/database.inc	30 Apr 2004 05:12:36 -0000	1.28
+++ includes/database.inc	6 May 2004 18:50:14 -0000
@@ -29,8 +29,7 @@
 * @param $name The named connection specified in the $db_url variable.
 */
 function db_set_active($name = 'default') {
-  global $db_url;
-  global $active_db;
+  global $db_url, $db_type, $active_db;
   static $db_conns;
 
   if (!isset($db_conns[$name])) {
