diff options
| author | Lorry Tar Creator <lorry-tar-importer@baserock.org> | 2015-02-17 17:25:57 +0000 |
|---|---|---|
| committer | <> | 2015-03-17 16:26:24 +0000 |
| commit | 780b92ada9afcf1d58085a83a0b9e6bc982203d1 (patch) | |
| tree | 598f8b9fa431b228d29897e798de4ac0c1d3d970 /test/tcl/log005.tcl | |
| parent | 7a2660ba9cc2dc03a69ddfcfd95369395cc87444 (diff) | |
| download | berkeleydb-master.tar.gz | |
Diffstat (limited to 'test/tcl/log005.tcl')
| -rw-r--r-- | test/tcl/log005.tcl | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/test/tcl/log005.tcl b/test/tcl/log005.tcl index 2a7f8d6f..a6fe90b3 100644 --- a/test/tcl/log005.tcl +++ b/test/tcl/log005.tcl @@ -1,6 +1,6 @@ # See the file LICENSE for redistribution information. # -# Copyright (c) 1996, 2012 Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 1996, 2015 Oracle and/or its affiliates. All rights reserved. # # $Id$ # @@ -49,11 +49,10 @@ proc log005_body { inmem } { set max [log005_stat $env "Current log file size"] error_check_good max_set $max 1000000 - # Reset the log file size using a second open, and make sure - # it changes. - puts "\tLog005.b: reset during open, check the log file size." - set envtmp [berkdb_env -home $testdir -log_max 900000 -txn] + puts "\tLog005.b: change the log file size, check that it changes." + set envtmp [berkdb_env -home $testdir -txn] error_check_good envtmp_open [is_valid_env $envtmp] TRUE + $envtmp set_lg_max 900000 error_check_good envtmp_close [$envtmp close] 0 set tmp [log005_stat $env "Current log file size"] |
