Searched refs:txn (Results 51 - 75 of 422) sorted by relevance

1234567891011>>

/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/test/
H A Dtest013.tcl68 set txn ""
88 set t [$env txn]
89 error_check_good txn [is_valid_txn $t $env] TRUE
90 set txn "-txn $t"
93 $txn $pflags {$key [chop_data $method $str]}]
96 set ret [eval {$db get} $gflags $txn {$key}]
100 error_check_good txn [$t commit] 0
119 set t [$env txn]
120 error_check_good txn [is_valid_tx
[all...]
H A Dtest065.tcl9 # TEST counts with DB->stat -txn.
83 set txn ""
88 set t [$env txn]
89 error_check_good txn [is_valid_txn $t $env] TRUE
90 set txn "-txn $t"
92 set ret [eval {$db put} $txn {$keypfx$ndx $data}]
94 set statret [eval {$db stat} $txn]
98 error_check_good txn [$t commit] 0
110 set t [$env txn]
[all...]
H A Dtest099.tcl70 set txn ""
80 set t [$env txn]
81 error_check_good txn [is_valid_txn $t $env] TRUE
82 set txn "-txn $t"
85 $txn $pflags {$key [chop_data $method $str]}]
88 error_check_good txn [$t commit] 0
96 set t [$env txn]
97 error_check_good txn [is_valid_txn $t $env] TRUE
98 set txn "
[all...]
H A Drecd013.tcl48 set flags "-create -txn -home $testdir"
61 set txn [$env txn]
62 error_check_good init_txn [is_valid_txn $txn $env] TRUE
70 set ctxn [$env txn -parent $txn]
72 error_check_good fake_put($i) [$db put -txn $ctxn $key $data] 0
81 error_check_good init_put($i) [$db put -txn $txn $key $data] 0
83 # Set a cursor of the parent txn t
[all...]
H A Dtest088.tcl35 set txn ""
61 set txn ""
72 set t [$env txn]
73 error_check_good txn [is_valid_txn $t $env] TRUE
74 set txn "-txn $t"
76 set ret [eval {$db put} $txn {${key}00000$i $data$i}]
79 error_check_good txn [$t commit] 0
88 set t [$env txn]
89 error_check_good txn [is_valid_tx
[all...]
H A Dtxn014.tcl9 # TEST A txn that will become a parent create a database.
10 # TEST A txn that will not become a parent creates another database.
11 # TEST Start a child txn of the 1st txn.
12 # TEST Verify that the parent txn is disabled while child is open.
15 # TEST Verify that the non-parent txn can read from its database,
16 # TEST and that the child txn cannot.
17 # TEST Return to the child txn.
39 set eflags "-create -mode 0644 -txn -home $testdir"
43 # Open a database with parent txn an
[all...]
H A Dtest087.tcl61 set env [eval {berkdb_env -create -home $testdir -txn} $encargs]
73 set txn [$env txn]
74 error_check_good txn [is_valid_txn $txn $env] TRUE
78 set ctxn [$env txn -parent $txn]
81 [$db put -txn $ctxn $key $datum] 0
86 set ctxn [$env txn -parent $txn]
[all...]
H A Dsi005.tcl57 set env [berkdb_env -create -home $testdir -txn]
110 set txn [$env txn]
111 set ret [eval {$pdb put} -txn $txn \
114 error_check_good txn_commit($n) [$txn commit] 0
123 set txn [$env txn]
124 set ret [eval {$pdb put} -txn $txn \
[all...]
H A Dtest010.tcl73 set txn ""
81 set t [$env txn]
82 error_check_good txn [is_valid_txn $t $env] TRUE
83 set txn "-txn $t"
86 $txn $pflags {$str [chop_data $method $datastr]}]
89 error_check_good txn [$t commit] 0
96 set t [$env txn]
97 error_check_good txn [is_valid_txn $t $env] TRUE
98 set txn "
[all...]
H A Dtest014.tcl112 set txn ""
136 set t [$env txn]
137 error_check_good txn [is_valid_txn $t $env] TRUE
138 set txn "-txn $t"
140 set ret [eval {$db put} $txn {$key $str}]
142 error_check_good txn [$t commit] 0
160 set t [$env txn]
161 error_check_good txn [is_valid_txn $t $env] TRUE
162 set txn "
[all...]
H A Dtest051.tcl83 set txn ""
90 set t [$env txn]
91 error_check_good txn [is_valid_txn $t $env] TRUE
92 set txn "-txn $t"
103 [list $doff $dlen]} $txn {$key $data}} ret]
122 [list $doff $dlen]} $txn {$key $data}} ret]
135 error_check_good txn [$t commit] 0
149 set t [$env txn]
150 error_check_good txn [is_valid_tx
[all...]
H A Dtest053.tcl31 set txn ""
88 set t [$env txn]
89 error_check_good txn [is_valid_txn $t $env] TRUE
90 set txn "-txn $t"
92 set ret [eval {$db put} $txn {$key $data}]
95 error_check_good txn [$t commit] 0
110 set t [$env txn]
111 error_check_good txn [is_valid_txn $t $env] TRUE
112 set txn "
[all...]
H A Dtest094.tcl67 set txn ""
80 set t [$env txn]
81 error_check_good txn [is_valid_txn $t $env] TRUE
82 set txn "-txn $t"
85 $txn $pflags {$key [chop_data $omethod $data]}]
88 error_check_good txn [$t commit] 0
101 set t [$env txn]
102 error_check_good txn [is_valid_txn $t $env] TRUE
103 set txn "
[all...]
H A Dtest112.tcl43 set txn ""
81 set t [$env txn]
82 error_check_good txn [is_valid_txn $t $env] TRUE
83 set txn "-txn $t"
90 {$db put} $txn {$key [chop_data $method $str]}]
113 set t [$env txn]
114 error_check_good txn [is_valid_txn $t $env] TRUE
115 set txn "-txn
[all...]
H A Dtest107.tcl58 -lock_timeout $timeout -txn} $encargs -home $testdir]
74 set txn [$env txn]
78 -txn $txn {$key [chop_data $method $data]}]
81 error_check_good txn_commit [$txn commit] 0
90 # txn or a degree 2 cursor or both. However, the case
91 # of a regular txn and regular cursor should deadlock.
99 set t [$env txn]
101 set t2 [$env txn
[all...]
H A Dtxn005.tcl17 # Open/create the txn region
19 set e [berkdb_env -create -txn -home $testdir]
22 set txn1 [$e txn]
25 set db [berkdb_open -env $e -txn $txn1 -create -btree txn005.db]
29 puts "\tTxn005.b: Set txn ids"
34 set txn2 [$e txn]
37 error_check_good put [$db put -txn $txn2 "a" ""] 0
44 set txn3 [$e txn]
47 set db [berkdb_open -env $e -txn $txn3 -btree txn005.db]
50 error_check_good put2 [$db put -txn
[all...]
H A Dbackup.tcl34 set env_flags " -create -txn -home $testdir -log_max $log_size"
52 set txn [$env txn]
53 populate $db $omethod $txn $nentries 0 0
54 $txn commit
82 set txn [$env txn]
83 populate $db $omethod $txn $nentries 0 0
84 $txn commit
112 set txn [
[all...]
H A Dlog006.tcl10 # TEST Test a long-lived txn.
27 -create -home $testdir -log_buffer $lbuf -log_max $lmax -txn]
49 # Rerun log006_put with a long lived txn.
53 set txn [$env txn]
54 error_check_good txn [is_valid_txn $txn $env] TRUE
56 # Give the txn something to do so no files can be removed.
59 -env $env -txn $txn
[all...]
H A Dtest028.tcl58 set txn ""
67 set t [$env txn]
68 error_check_good txn [is_valid_txn $t $env] TRUE
69 set txn "-txn $t"
71 set dbc [eval {$db cursor} $txn]
97 $txn $pflags {$key [chop_data $method $dupstr]}]
102 set ret [eval {$db get} $txn $gflags {$key}]
108 set ret [eval {$db put} $txn \
122 set ret [eval {$db put} $txn \
[all...]
H A Dtest063.tcl45 set txn ""
63 set t [$env txn]
64 error_check_good txn [is_valid_txn $t $env] TRUE
65 set txn "-txn $t"
67 set ret [eval {$db put} $txn {$key [chop_data $method $data]}]
70 set dbt [eval {$db get} $txn $gflags {$key}]
75 error_check_good txn [$t commit] 0
93 set t [$env txn]
94 error_check_good txn [is_valid_tx
[all...]
H A Dtest074.tcl57 set txn ""
73 set t [$env txn]
74 error_check_good txn [is_valid_txn $t $env] TRUE
75 set txn "-txn $t"
77 set ret [eval {$db put} $txn {$key \
81 error_check_good txn [$t commit] 0
89 set t [$env txn]
90 error_check_good txn [is_valid_txn $t $env] TRUE
91 set txn "
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/db/
H A Ddb_truncate.c18 #include "dbinc/txn.h"
29 __db_truncate_pp(dbp, txn, countp, flags)
31 DB_TXN *txn;
70 (ret = __db_rep_enter(dbp, 1, 0, txn != NULL)) != 0) {
88 if (IS_DB_AUTO_COMMIT(dbp, txn)) {
89 if ((ret = __txn_begin(env, ip, NULL, &txn, 0)) != 0)
95 if ((ret = __db_check_txn(dbp, txn, DB_LOCK_INVALIDID, 0)) != 0)
98 ret = __db_truncate(dbp, ip, txn, countp);
101 (t_ret = __db_txn_auto_resolve(env, txn, 0, ret)) && ret == 0)
120 __db_truncate(dbp, ip, txn, count
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/test/scr024/src/com/sleepycat/persist/test/
H A DForeignKeyTest.java115 Transaction txn = txnBegin();
118 assertNull(pri1.put(txn, o1));
120 assertEquals(o1, pri1.get(txn, "pk1", null));
121 assertEquals(o1, sec1.get(txn, "sk1", null));
126 assertNull(pri2.put(txn, o2));
128 assertEquals(o2, pri2.get(txn, "pk2", null));
129 assertEquals(o2, sec2.get(txn, "pk1", null));
131 txnCommit(txn);
132 txn = txnBegin();
145 pri1.delete(txn, "pk
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/perl/BerkeleyDB/t/
H A Dtxn.t47 ok 7, my $txn = $env->txn_begin() ;
51 -Txn => $txn ;
54 ok 9, $txn->txn_commit() == 0 ;
55 ok 10, $txn = $env->txn_begin() ;
56 $db1->Txn($txn);
84 ok 14, $txn->txn_abort() == 0 ;
98 undef $txn ;
118 ok 21, my $txn = $txn_mgr->txn_begin() ;
122 -Txn => $txn ;
124 ok 23, $txn
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/java/src/com/sleepycat/db/
H A DSequence.java57 The <code>txn</code> handle must be null if the sequence handle was opened
61 opening the sequence handle, the <code>txn</code> handle should be
65 @param txn
76 public long get(Transaction txn, int delta) argument
79 return seq.get((txn == null) ? null : txn.txn, delta,
80 (txn == null) ? autoCommitFlag : 0);

Completed in 186 milliseconds

1234567891011>>