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