diff options
author | terry%mozilla.org <> | 2000-02-18 06:40:54 +0100 |
---|---|---|
committer | terry%mozilla.org <> | 2000-02-18 06:40:54 +0100 |
commit | 4ff34e9d3b747097a4bc88efd8171cae832a94e9 (patch) | |
tree | 680a7889e3432e5b5dfe2580a2de9f019fa4c0f3 /buglist.cgi | |
parent | 870be34704d0679153de40192b326b076343ba7d (diff) | |
download | bugzilla-4ff34e9d3b747097a4bc88efd8171cae832a94e9.tar.gz bugzilla-4ff34e9d3b747097a4bc88efd8171cae832a94e9.tar.xz |
Added an optional ability to keep a read-only shadow database, so that
bug queries can be run against it, so that these slow queries won't be
able to tie up the rest of the system.
Diffstat (limited to 'buglist.cgi')
-rwxr-xr-x | buglist.cgi | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/buglist.cgi b/buglist.cgi index 297d32255..be55f22b6 100755 --- a/buglist.cgi +++ b/buglist.cgi @@ -49,7 +49,9 @@ sub sillyness { my $serverpush = 0; -ConnectToDatabase(); +my $useshadow = Param("queryagainstshadowdb"); + +ConnectToDatabase($useshadow); # print "Content-type: text/plain\n\n"; # Handy for debugging. # $::FORM{'debug'} = 1; |