mirror of
https://github.com/berkeleydb/libdb.git
synced 2024-11-16 17:16:25 +00:00
30 lines
696 B
Tcl
30 lines
696 B
Tcl
# See the file LICENSE for redistribution information.
|
|
#
|
|
# Copyright (c) 1996, 2011 Oracle and/or its affiliates. All rights reserved.
|
|
#
|
|
# $Id$
|
|
#
|
|
# TEST txn008
|
|
# TEST Test of wraparound txnids (txn002)
|
|
proc txn008 { } {
|
|
source ./include.tcl
|
|
global txn_curid
|
|
global txn_maxid
|
|
|
|
set orig_curid $txn_curid
|
|
set orig_maxid $txn_maxid
|
|
puts "\tTxn008.1: wraparound txnids"
|
|
set txn_curid [expr $txn_maxid - 2]
|
|
txn002 "008.1"
|
|
puts "\tTxn008.2: closer wraparound txnids"
|
|
set txn_curid [expr $txn_maxid - 3]
|
|
set txn_maxid [expr $txn_maxid - 2]
|
|
txn002 "008.2"
|
|
|
|
puts "\tTxn008.3: test wraparound txnids"
|
|
txn_idwrap_check $testdir
|
|
set txn_curid $orig_curid
|
|
set txn_maxid $orig_maxid
|
|
return
|
|
}
|
|
|