From: bbaetz%student.usyd.edu.au <>
Date: Mon, 8 Jul 2002 13:10:45 +0000 (+0000)
Subject: Bug 105472 - expectbigqueries unnecessary with mysql >=3.23.2
X-Git-Tag: bugzilla-2.17.1~277
X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a2048c1273b8247701443027cb8758dd56d7fd01;p=thirdparty%2Fbugzilla.git
Bug 105472 - expectbigqueries unnecessary with mysql >=3.23.2
r=jouni x2
---
diff --git a/buglist.cgi b/buglist.cgi
index c2d44de12d..9638d9c0fb 100755
--- a/buglist.cgi
+++ b/buglist.cgi
@@ -1397,10 +1397,6 @@ if ($serverpush) {
# query performance.
ReconnectToShadowDatabase();
-# Tell MySQL to store temporary tables on the hard drive instead of memory
-# to avoid "table out of space" errors on MySQL versions less than 3.23.2.
-SendSQL("SET OPTION SQL_BIG_TABLES=1") if Param('expectbigqueries');
-
# Normally, we ignore SIGTERM and SIGPIPE (see globals.pl) but we need to
# respond to them here to prevent someone DOSing us by reloading a query
# a large number of times.
diff --git a/defparams.pl b/defparams.pl
index 30a7b5fc0a..9fe4c186ec 100644
--- a/defparams.pl
+++ b/defparams.pl
@@ -449,11 +449,6 @@ sub check_webdotbase {
return "";
}
-DefParam("expectbigqueries",
- "If this is on, then we will tell mysql to set option SQL_BIG_TABLES=1 before doing queries on bugs. This will be a little slower, but one will not get the error The table ### is full for big queries that require a big temporary table.",
- "b",
- 0);
-
DefParam("emailregexp",
'This defines the regexp to use for legal email addresses. The default tries to match fully qualified email addresses. Another popular value to put here is ^[^@]+$, which means "local usernames, no @ allowed."',
"t",
diff --git a/sanitycheck.cgi b/sanitycheck.cgi
index 706d7dff5a..72a9137fd2 100755
--- a/sanitycheck.cgi
+++ b/sanitycheck.cgi
@@ -49,8 +49,6 @@ UserInGroup("editbugs")
print "Content-type: text/html\n";
print "\n";
-SendSQL("set SQL_BIG_TABLES=1");
-
my $offervotecacherebuild = 0;
sub Status {