2001-03-04 19:42:05 -05:00
|
|
|
# See the file LICENSE for redistribution information.
|
|
|
|
#
|
2002-10-30 15:57:05 +04:00
|
|
|
# Copyright (c) 1998-2002
|
2001-03-04 19:42:05 -05:00
|
|
|
# Sleepycat Software. All rights reserved.
|
|
|
|
#
|
2002-10-30 15:57:05 +04:00
|
|
|
# $Id: test040.tcl,v 11.6 2002/01/11 15:53:47 bostic Exp $
|
2001-03-04 19:42:05 -05:00
|
|
|
#
|
2002-10-30 15:57:05 +04:00
|
|
|
# TEST test040
|
|
|
|
# TEST Test038 with off-page duplicates
|
|
|
|
# TEST DB_GET_BOTH functionality with off-page duplicates.
|
2001-03-04 19:42:05 -05:00
|
|
|
proc test040 { method {nentries 10000} args} {
|
|
|
|
# Test with off-page duplicates
|
|
|
|
eval {test038 $method $nentries 20 40 -pagesize 512} $args
|
|
|
|
|
|
|
|
# Test with multiple pages of off-page duplicates
|
|
|
|
eval {test038 $method [expr $nentries / 10] 100 40 -pagesize 512} $args
|
|
|
|
}
|