summaryrefslogtreecommitdiffstats
path: root/checksetup.pl
diff options
context:
space:
mode:
authorterry%mozilla.org <>2000-02-18 06:40:54 +0100
committerterry%mozilla.org <>2000-02-18 06:40:54 +0100
commit4ff34e9d3b747097a4bc88efd8171cae832a94e9 (patch)
tree680a7889e3432e5b5dfe2580a2de9f019fa4c0f3 /checksetup.pl
parent870be34704d0679153de40192b326b076343ba7d (diff)
downloadbugzilla-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 'checksetup.pl')
-rwxr-xr-xchecksetup.pl9
1 files changed, 9 insertions, 0 deletions
diff --git a/checksetup.pl b/checksetup.pl
index 16f2a9c19..7b5658ad6 100755
--- a/checksetup.pl
+++ b/checksetup.pl
@@ -751,6 +751,15 @@ $table{keyworddefs} =
unique(name)';
+$table{shadowlog} =
+ 'id int not null auto_increment primary key,
+ ts timestamp,
+ reflected tinyint not null,
+ command mediumtext not null,
+
+ index(reflected)';
+
+
###########################################################################
# Create tables