summaryrefslogtreecommitdiff
path: root/tests/fork_big.pl
diff options
context:
space:
mode:
authorunknown <monty@donna.mysql.fi>2001-04-02 01:45:24 +0300
committerunknown <monty@donna.mysql.fi>2001-04-02 01:45:24 +0300
commitf93232805ed97acd3734f6bd208328aeb2293d45 (patch)
tree90e5e8a8570e593f3241d7b766717cefc7a4130b /tests/fork_big.pl
parent1776fbac85f35241d4c4726e40f9e40d8267e115 (diff)
downloadmariadb-git-f93232805ed97acd3734f6bd208328aeb2293d45.tar.gz
Added INNODB as a synonym for INNOBASE
Fixed bug where FLUSH TABLES could make indexes unavailable for the next query Added --skip-safemalloc Docs/manual.texi: Added some information about --with-debug=full sql/lex.h: Added INNODB as a synonym for INNOBASE sql/mysqld.cc: Added myisam variables. Moved shutdown message to after databases has been closed. Removed old define for MacOS X. Added --skip-safemalloc. Added missing \ to strings sql/sql_base.cc: Fixed bug where FLUSH TABLES could make indexes unavailable for the next query. support-files/my-huge.cnf.sh: Added / to end of innobase directory options support-files/my-large.cnf.sh: Added / to end of innobase directory options support-files/my-medium.cnf.sh: Added / to end of innobase directory options support-files/my-small.cnf.sh: Added / to end of innobase directory options tests/fork_big.pl: Made test harder
Diffstat (limited to 'tests/fork_big.pl')
-rwxr-xr-xtests/fork_big.pl8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/fork_big.pl b/tests/fork_big.pl
index 1644fdc5fab..74941823c17 100755
--- a/tests/fork_big.pl
+++ b/tests/fork_big.pl
@@ -4,7 +4,7 @@
#
# Tested a lot with: --threads=30
-$opt_loop_count=200000; # Change this to make test harder/easier
+$opt_loop_count=500000; # Change this to make test harder/easier
##################### Standard benchmark inits ##############################
@@ -308,7 +308,7 @@ sub test_check
$type= "check";
for ($i=$j=0 ; !test_if_abort($dbh) ; $i++)
{
- sleep(60);
+ sleep(1000);
$table=$testtables[$j]->[0];
$sth=$dbh->prepare("$type table $table") || die "Got error on prepare: $DBI::errstr\n";
$sth->execute || die $DBI::errstr;
@@ -346,7 +346,7 @@ sub test_repair
$type= "repair";
for ($i=0 ; !test_if_abort($dbh) ; $i++)
{
- sleep(95);
+ sleep(2000);
$table=$testtables[0]->[0];
$sth=$dbh->prepare("$type table $table") || die "Got error on prepare: $DBI::errstr\n";
$sth->execute || die $DBI::errstr;
@@ -382,7 +382,7 @@ sub test_flush
$count=0;
while (!test_if_abort($dbh))
{
- sleep(60);
+ sleep(3000);
$dbh->do("flush tables $tables") ||
die "Got error on flush $DBI::errstr\n";
$count++;