Lines Matching refs:txn
11 # TEST Test that truncate-write in an aborted txn doesn't
13 # TEST Test that truncate-write in a committed txn does
59 -lock_max_locks $lockmax -lock_max_objects $lockmax -txn} $encargs]
97 puts "\tTest096.e: Truncate and write in a txn, then abort"
111 puts "\tTest096.g: Truncate and write in a txn, then commit"
173 set t [$env txn]
174 error_check_good txn [is_valid_txn $t $env] TRUE
175 set txn "-txn $t"
176 dup_check $db $txn $t1 $dlist
177 error_check_good txn [$t commit] 0
186 puts "\tTest096.l: Truncate database in a txn then abort"
196 puts "\tTest096.m: Truncate database in a txn then commit"
222 set t [$env txn]
223 error_check_good txn [is_valid_txn $t $env] TRUE
224 set txn "-txn $t"
225 dup_check $db $txn $t1 $dlist
226 error_check_good txn [$t commit] 0
235 puts "\tTest096.q: Truncate and write in a txn, then abort"
244 puts "\tTest096.r: Truncate and write in a txn, then commit"
288 set txn ""
304 set t [$env txn]
305 error_check_good txn [is_valid_txn $t $env] TRUE
306 set txn "-txn $t"
307 set ret [eval {$db put} $txn $pflags \
310 error_check_good txn [$t commit] 0
314 set t [$env txn]
315 error_check_good txn [is_valid_txn $t $env] TRUE
316 set txn "-txn $t"
318 $txn $pflags {$key [chop_data $method $datastr]}]
320 error_check_good txn [$t commit] 0
353 set txn [$env txn]
354 error_check_good txnbegin [is_valid_txn $txn $env] TRUE
356 set ret [$db truncate -txn $txn]
360 set ret [eval {$db put} -txn $txn \
366 error_check_good txn$op [$txn $op] 0