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: test034.tcl,v 11.8 2002/01/11 15:53:46 bostic Exp $
|
2001-03-04 19:42:05 -05:00
|
|
|
#
|
2002-10-30 15:57:05 +04:00
|
|
|
# TEST test034
|
|
|
|
# TEST test032 with off-page duplicates
|
|
|
|
# TEST DB_GET_BOTH, DB_GET_BOTH_RANGE functionality with off-page duplicates.
|
2001-03-04 19:42:05 -05:00
|
|
|
proc test034 { method {nentries 10000} args} {
|
|
|
|
# Test with off-page duplicates
|
|
|
|
eval {test032 $method $nentries 20 34 -pagesize 512} $args
|
|
|
|
|
|
|
|
# Test with multiple pages of off-page duplicates
|
|
|
|
eval {test032 $method [expr $nentries / 10] 100 34 -pagesize 512} $args
|
|
|
|
}
|