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:
terry%mozilla.org 1999-05-07 21:49:24 +00:00
parent d23c738373
commit 3f40ffa575
2 changed files with 8 additions and 0 deletions

View File

@ -461,6 +461,9 @@ if ($serverpush) {
}
}
if (Param('expectbigqueries')) {
SendSQL("set option SQL_BIG_TABLES=1");
}
SendSQL($query);
my $count = 0;

View File

@ -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;