aboutsummaryrefslogtreecommitdiffstats
path: root/buglist.cgi
diff options
context:
space:
mode:
authorbbaetz%student.usyd.edu.au <>2002-11-19 15:19:29 +0000
committerbbaetz%student.usyd.edu.au <>2002-11-19 15:19:29 +0000
commite1f21df3faf10cafc492e9bd7a9329f7f96e95ca (patch)
tree24ee7967e094d165bf4ff77a46e4afe4e7a56034 /buglist.cgi
parent1f71df249d99f8392dbce1b47a05fdd03bec48b1 (diff)
downloadbugs-e1f21df3faf10cafc492e9bd7a9329f7f96e95ca.tar
bugs-e1f21df3faf10cafc492e9bd7a9329f7f96e95ca.tar.gz
bugs-e1f21df3faf10cafc492e9bd7a9329f7f96e95ca.tar.bz2
bugs-e1f21df3faf10cafc492e9bd7a9329f7f96e95ca.tar.xz
bugs-e1f21df3faf10cafc492e9bd7a9329f7f96e95ca.zip
Bug 124589 - support database replication
r=myk, a=justdave
Diffstat (limited to 'buglist.cgi')
-rwxr-xr-xbuglist.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/buglist.cgi b/buglist.cgi
index 50873387e..fdab9eb83 100755
--- a/buglist.cgi
+++ b/buglist.cgi
@@ -678,7 +678,7 @@ while (my @row = FetchSQLData()) {
# Switch back from the shadow database to the regular database so PutFooter()
# can determine the current user even if the "logincookies" table is corrupted
# in the shadow database.
-SendSQL("USE $::db_name");
+ReconnectToMainDatabase();
# Check for bug privacy and set $bug->{isingroups} = 1 if private
# to 1 or more groups