Lines Matching refs:txn
19 set e [berkdb_env -create -lock -home $testdir -txn -log]
31 set txn1 [$e txn -nowait]
33 set ret [catch {$db put -txn $txn1 -append record1} recno1]
36 # Start second txn while the first is still running ...
37 set txn2 [$e txn -nowait]
40 # ... and try to get a record from the first txn (should fail)
41 set ret [catch {$db get -txn $txn2 $recno1} res]
69 set txn1 [$e txn -nowait]
71 set ret [catch {$db put -txn $txn1 -append record1} recno1]
78 set txn2 [$e txn -nowait]
80 set ret [catch {$db put -txn $txn2 -append record2} recno2]
84 # Now commit or abort one txn and make sure the other is okay
92 set ret1 [catch {$db get -txn $txn2 $recno1} res1]
93 set ret2 [catch {$db get -txn $txn2 $recno2} res2]
129 set ret1 [catch {$db get -txn $txn1 $recno1} res1]
130 set ret2 [catch {$db get -txn $txn1 $recno2} res2]