From 99e9f86862d40d7d72c58c6f6a44c786365b2dff Mon Sep 17 00:00:00 2001
From: Dries Buytaert <dries@buytaert.net>
Date: Thu, 6 May 2004 20:25:48 +0000
Subject: [PATCH] - Patch #7575 by ax:  not in global scope, making updates
 fail.

---
 includes/database.inc | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/includes/database.inc b/includes/database.inc
index aec692e5e3df..a7943a1f3bed 100644
--- a/includes/database.inc
+++ b/includes/database.inc
@@ -29,8 +29,7 @@ function db_prefix_tables($sql) {
 * @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])) {
-- 
GitLab