Commit 08c985ad authored by terry%mozilla.org's avatar terry%mozilla.org

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.
parent 0562b9bd
...@@ -461,6 +461,9 @@ if ($serverpush) { ...@@ -461,6 +461,9 @@ if ($serverpush) {
} }
} }
if (Param('expectbigqueries')) {
SendSQL("set option SQL_BIG_TABLES=1");
}
SendSQL($query); SendSQL($query);
my $count = 0; my $count = 0;
......
...@@ -292,5 +292,10 @@ DefParam("usebrowserinfo", ...@@ -292,5 +292,10 @@ DefParam("usebrowserinfo",
"b", "b",
1); 1);
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);
1; 1;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment