summaryrefslogtreecommitdiff
path: root/test/tcl/rep061.tcl
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@baserock.org>2015-02-17 17:25:57 +0000
committer <>2015-03-17 16:26:24 +0000
commit780b92ada9afcf1d58085a83a0b9e6bc982203d1 (patch)
tree598f8b9fa431b228d29897e798de4ac0c1d3d970 /test/tcl/rep061.tcl
parent7a2660ba9cc2dc03a69ddfcfd95369395cc87444 (diff)
downloadberkeleydb-master.tar.gz
Imported from /home/lorry/working-area/delta_berkeleydb/db-6.1.23.tar.gz.HEADdb-6.1.23master
Diffstat (limited to 'test/tcl/rep061.tcl')
-rw-r--r--test/tcl/rep061.tcl11
1 files changed, 8 insertions, 3 deletions
diff --git a/test/tcl/rep061.tcl b/test/tcl/rep061.tcl
index cfaf9992..bc52fd60 100644
--- a/test/tcl/rep061.tcl
+++ b/test/tcl/rep061.tcl
@@ -1,6 +1,6 @@
# See the file LICENSE for redistribution information.
#
-# Copyright (c) 2004, 2012 Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2004, 2015 Oracle and/or its affiliates. All rights reserved.
#
# $Id$
#
@@ -114,6 +114,11 @@ proc rep061_sub { method niter tnum logset recargs opts dpct largs } {
set repmemargs "-rep_inmem_files "
}
+ set blobargs ""
+ if { [can_support_blobs $method $largs] == 1 } {
+ set blobargs "-blob_threshold 100"
+ }
+
env_cleanup $testdir
replsetup $testdir/MSGQUEUEDIR
@@ -144,7 +149,7 @@ proc rep061_sub { method niter tnum logset recargs opts dpct largs } {
# Open a master.
repladd 1
set ma_envcmd "berkdb_env_noerr -create $m_txnargs $verbargs \
- $repmemargs \
+ $repmemargs $blobargs \
-log_max $log_max -cachesize { 0 $cache 1 } -errpfx MASTER \
-home $masterdir -rep_transport \[list 1 replsend\]"
set masterenv [eval $ma_envcmd $recargs -rep_master]
@@ -152,7 +157,7 @@ proc rep061_sub { method niter tnum logset recargs opts dpct largs } {
# Open a client
repladd 2
set cl_envcmd "berkdb_env_noerr -create $c_txnargs $verbargs \
- $repmemargs \
+ $repmemargs $blobargs \
-log_max $log_max -cachesize { 0 $cache 1 } -errpfx CLIENT \
-home $clientdir -rep_transport \[list 2 replsend\]"
set clientenv [eval $cl_envcmd $recargs -rep_client]