Perl cleanups in sql-bench.

Thanks to Chris Richmond MD6-FDC <crichmon@pcocd2.intel.com> for the
patch.
This commit is contained in:
tim@threads.polyesthetic.msg 2001-02-05 22:21:36 -05:00
commit fb8547e044
2 changed files with 4 additions and 5 deletions

View file

@ -124,7 +124,7 @@ sub new
$limits{'max_conditions'} = 9999; # (Actually not a limit)
$limits{'max_columns'} = 2000; # Max number of columns in table
# Windows can't handle that many files in one directory
$limits{'max_tables'} = ($machine =~ "^win") ? 5000 : 65000;
$limits{'max_tables'} = (($machine || '') =~ "^win") ? 5000 : 65000;
$limits{'max_text_size'} = 65000; # Max size with default buffers.
$limits{'query_size'} = 1000000; # Max size with default buffers.
$limits{'max_index'} = 16; # Max number of keys