]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 105472 - expectbigqueries unnecessary with mysql >=3.23.2
authorbbaetz%student.usyd.edu.au <>
Mon, 8 Jul 2002 13:10:45 +0000 (13:10 +0000)
committerbbaetz%student.usyd.edu.au <>
Mon, 8 Jul 2002 13:10:45 +0000 (13:10 +0000)
r=jouni x2

buglist.cgi
defparams.pl
sanitycheck.cgi

index c2d44de12dc547014b7d624399dd14a32fd0ebcc..9638d9c0fb2e86fadf242583c113b5c3229d0101 100755 (executable)
@@ -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.
index 30a7b5fc0aa8b8c533c13825b48ed2444ab72e24..9fe4c186ec2b71dfd3e61767148a974add79e258 100644 (file)
@@ -449,11 +449,6 @@ sub check_webdotbase {
     return "";
 }
 
-DefParam("expectbigqueries",
-         "If this is on, then we will tell mysql to <tt>set option SQL_BIG_TABLES=1</tt> before doing queries on bugs.  This will be a little slower, but one will not get the error <tt>The table ### is full</tt> 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 <tt>^[^@]+$</tt>, which means "local usernames, no @ allowed."',
          "t",
index 706d7dff5aeb9bf824ee3fee9e9ebc9b47659172..72a9137fd2c9db34d75b17a3d326209b9cae98e6 100755 (executable)
@@ -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 {