2001-03-22 02:33:35 +08:00
|
|
|
# See the file LICENSE for redistribution information.
|
|
|
|
#
|
2007-07-30 16:58:31 +08:00
|
|
|
# Copyright (c) 1996,2007 Oracle. All rights reserved.
|
2001-03-22 02:33:35 +08:00
|
|
|
#
|
2007-07-30 16:58:31 +08:00
|
|
|
# $Id: test035.tcl,v 12.5 2007/05/17 15:15:56 bostic Exp $
|
2001-03-22 02:33:35 +08:00
|
|
|
#
|
2003-12-16 05:42:09 +08:00
|
|
|
# TEST test035
|
|
|
|
# TEST Test033 with off-page duplicates
|
|
|
|
# TEST DB_GET_BOTH functionality with off-page duplicates.
|
2001-03-22 02:33:35 +08:00
|
|
|
proc test035 { method {nentries 10000} args} {
|
2003-12-16 05:42:09 +08:00
|
|
|
set pgindex [lsearch -exact $args "-pagesize"]
|
|
|
|
if { $pgindex != -1 } {
|
|
|
|
puts "Test035: Skipping for specific pagesizes"
|
|
|
|
return
|
|
|
|
}
|
2001-03-22 02:33:35 +08:00
|
|
|
# Test with off-page duplicates
|
2003-12-16 05:42:09 +08:00
|
|
|
eval {test033 $method $nentries 20 "035" -pagesize 512} $args
|
2001-03-22 02:33:35 +08:00
|
|
|
# Test with multiple pages of off-page duplicates
|
2003-12-16 05:42:09 +08:00
|
|
|
eval {test033 $method [expr $nentries / 10] 100 "035" -pagesize 512} \
|
|
|
|
$args
|
2001-03-22 02:33:35 +08:00
|
|
|
}
|