mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-12 09:01:16 +00:00
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.
This commit is contained in:
parent
d23c738373
commit
3f40ffa575
@ -461,6 +461,9 @@ if ($serverpush) {
|
||||
}
|
||||
}
|
||||
|
||||
if (Param('expectbigqueries')) {
|
||||
SendSQL("set option SQL_BIG_TABLES=1");
|
||||
}
|
||||
SendSQL($query);
|
||||
|
||||
my $count = 0;
|
||||
|
@ -292,5 +292,10 @@ DefParam("usebrowserinfo",
|
||||
"b",
|
||||
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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user