summaryrefslogtreecommitdiffstats
path: root/buglist.cgi
diff options
context:
space:
mode:
authorterry%mozilla.org <>1999-05-08 06:49:23 +0200
committerterry%mozilla.org <>1999-05-08 06:49:23 +0200
commit08c985add2543802057ab7d6d4b26a1904834c24 (patch)
treea3d462e1b439df21e47bc289f9a6f8b699a8604f /buglist.cgi
parent0562b9bd346632e21892a3cb95af6849db29bc39 (diff)
downloadbugzilla-08c985add2543802057ab7d6d4b26a1904834c24.tar.gz
bugzilla-08c985add2543802057ab7d6d4b26a1904834c24.tar.xz
Provide an option to tell mysql "set option SQL_BIG_TABLES=1". This
is necessary for very big queries, but it will slow things up some otherwise.
Diffstat (limited to 'buglist.cgi')
-rwxr-xr-xbuglist.cgi3
1 files changed, 3 insertions, 0 deletions
diff --git a/buglist.cgi b/buglist.cgi
index bd83f34ed..4727afca6 100755
--- a/buglist.cgi
+++ b/buglist.cgi
@@ -461,6 +461,9 @@ if ($serverpush) {
}
}
+if (Param('expectbigqueries')) {
+ SendSQL("set option SQL_BIG_TABLES=1");
+}
SendSQL($query);
my $count = 0;