Searched refs:txn (Results 101 - 125 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 Dtest004.tcl71 set txn ""
92 set t [$env txn]
93 error_check_good txn [is_valid_txn $t $env] TRUE
94 set txn "-txn $t"
96 set ret [eval {$db put} $txn $pflags \
100 error_check_good txn [$t commit] 0
123 set t [$env txn]
124 error_check_good txn [is_valid_txn $t $env] TRUE
125 set txn "
[all...]
H A Dtest021.tcl61 set txn ""
83 set t [$env txn]
84 error_check_good txn [is_valid_txn $t $env] TRUE
85 set txn "-txn $t"
88 $txn $pflags {$key [chop_data $method $str]}]
91 error_check_good txn [$t commit] 0
107 set t [$env txn]
108 error_check_good txn [is_valid_txn $t $env] TRUE
109 set txn "
[all...]
H A Dtest055.tcl45 set txn ""
55 set t [$env txn]
56 error_check_good txn [is_valid_txn $t $env] TRUE
57 set txn "-txn $t"
59 set r [eval {$db put} $txn $flags {$key datum$key}]
62 error_check_good txn [$t commit] 0
69 set t [$env txn]
70 error_check_good txn [is_valid_txn $t $env] TRUE
71 set txn "
[all...]
H A Dtest062.tcl64 set txn ""
75 set t [$env txn]
76 error_check_good txn [is_valid_txn $t $env] TRUE
77 set txn "-txn $t"
80 $txn $pflags {$str [chop_data $method $datastr]}]
83 error_check_good txn [$t commit] 0
94 set t [$env txn]
95 error_check_good txn [is_valid_txn $t $env] TRUE
96 set txn "
[all...]
H A Dtxn010.tcl17 set env [berkdb_env -create -home $testdir -txn]
25 set t [$env txn]
27 [$db put -txn $t "key_a_$count" "data"] 0
46 set t [$env txn]
48 "quiescent: put" [$db put -txn $t "key_b_$count" "data"] 0
74 set t [$env txn]
76 [$db put -txn $t "key_c_$count" "data"] 0
91 set t [$env txn]
93 [$db put -txn $t "key_d_$count" "data"] 0
105 set t [$env txn]
[all...]
H A Drecd001.tcl57 set flags "-create -txn -home $testdir $envargs"
94 # cannot specify db truncate in txn protected env!!!
120 { {DB put -txn TXNID $key $data} "Recd001.b: put"}
121 { {DB del -txn TXNID $key} "Recd001.c: delete"}
122 { {DB put -txn TXNID $bigkey $data} "Recd001.d: big key put"}
123 { {DB del -txn TXNID $bigkey} "Recd001.e: big key delete"}
124 { {DB put -txn TXNID $key $bigdata} "Recd001.f: big data put"}
125 { {DB del -txn TXNID $key} "Recd001.g: big data delete"}
126 { {DB put -txn TXNID $key $data} "Recd001.h: put (change state)"}
127 { {DB put -txn TXNI
[all...]
H A Dsdb004.tcl65 set txn ""
116 set t [$env txn]
117 error_check_good txn [is_valid_txn $t $env] TRUE
118 set txn "-txn $t"
121 {$db put} $txn $pflags {$key [chop_data $method $data]}]
124 error_check_good txn [$t commit] 0
149 set t [$env txn]
150 error_check_good txn [is_valid_txn $t $env] TRUE
151 set txn "
[all...]
H A Dtest033.tcl73 set txn ""
77 set t [$env txn]
78 error_check_good txn [is_valid_txn $t $env] TRUE
79 set txn "-txn $t"
81 set dbc [eval {$db cursor} $txn]
91 set ret [eval {$db put} $txn $pflags \
98 $txn $pflags {$str [chop_data $method $datastr]}]
106 test033_recno.check $db $dbc $method $str $txn $key
108 test033_check $db $dbc $method $str $txn
[all...]
H A Dtest048.tcl36 set txn ""
71 set t [$env txn]
72 error_check_good txn [is_valid_txn $t $env] TRUE
73 set txn "-txn $t"
75 set ret [eval {$db put} $txn {key000$i $data$i}]
78 error_check_good txn [$t commit] 0
85 set t [$env txn]
86 error_check_good txn [is_valid_txn $t $env] TRUE
87 set txn "
[all...]
H A Dtest050.tcl29 set txn ""
66 set t [$env txn]
67 error_check_good txn [is_valid_txn $t $env] TRUE
68 set txn "-txn $t"
70 set ret [eval {$db put} $txn {$i [chop_data $method $data$i]}]
73 error_check_good txn [$t commit] 0
78 set t [$env txn]
79 error_check_good txn [is_valid_txn $t $env] TRUE
80 set txn "
[all...]
H A Dtest068.tcl53 set txn ""
93 set t [$env txn]
94 error_check_good txn [is_valid_txn $t $env] TRUE
95 set txn "-txn $t"
97 set ret [eval {$db put} $txn {$word $word}]
100 error_check_good txn [$t commit] 0
115 set t [$env txn]
116 error_check_good txn [is_valid_txn $t $env] TRUE
117 set txn "
[all...]
H A Dtest117.tcl56 set txn ""
87 set t [$env txn]
88 error_check_good txn [is_valid_txn $t $env] TRUE
89 set txn "-txn $t"
103 {$db put} $txn {$key [chop_data $method $str]}]
131 set t [$env txn]
132 error_check_good txn [is_valid_txn $t $env] TRUE
133 set txn "-txn
[all...]
H A Dtest119.tcl34 set txn ""
64 set t [$env txn]
65 error_check_good txn [is_valid_txn $t $env] TRUE
66 set txn "-txn $t"
70 [eval {$db put} $txn {$key [chop_data $method $data]}] 0
73 set ret [eval {$db get} $txn -data_buf_size $datalength $key]
79 $txn -data_buf_size [expr $datalength - 1] $key} res
83 error_check_good db_del [eval {$db del} $txn $key] 0
111 set t [$env txn]
[all...]
H A Drep040.tcl78 # In-memory logs cannot be used with -txn nosync.
124 set t [$masterenv txn]
125 error_check_good txn [is_valid_txn $t $masterenv] TRUE
126 set ret [$db put -txn $t $key [chop_data $method $data]]
128 error_check_good txn [$t commit] 0
138 set t [$masterenv txn]
139 error_check_good txn [is_valid_txn $t $masterenv] TRUE
140 set t2 [$masterenv txn]
141 error_check_good txn [is_valid_txn $t2 $masterenv] TRUE
142 set ret [$db put -txn
[all...]
H A Dtest006.tcl83 set txn ""
111 set t [$env txn]
112 error_check_good txn \
114 set txn "-txn $t"
116 set ret [eval {$db put} $txn $pflags \
120 error_check_good txn \
142 set t [$env txn]
143 error_check_good txn [is_valid_txn $t $env] TRUE
144 set txn "
[all...]
H A Dtest038.tcl81 set txn ""
87 set t [$env txn]
88 error_check_good txn [is_valid_txn $t $env] TRUE
89 set txn "-txn $t"
91 set dbc [eval {$db cursor} $txn]
116 $txn $pflags {$str [chop_data $method $datastr]}]
120 $txn $pflags {$str [chop_data $method $dups]}]
149 error_check_good txn [$t commit] 0
156 set t [$env txn]
[all...]
H A Dtest073.tcl52 set txn ""
82 set t [$env txn]
83 error_check_good txn [is_valid_txn $t $env] TRUE
84 set txn "-txn $t"
86 set ret [eval {$db put} $txn {$key $datum}]
89 error_check_good txn [$t commit] 0
98 set t [$env txn]
99 error_check_good txn [is_valid_txn $t $env] TRUE
100 set txn "
[all...]
H A Dtxn004.tcl37 # Open/create the txn region
38 set e [berkdb_env -create -txn -home $testdir]
41 set txn1 [$e txn]
46 set txn2 [$e txn]
51 set txn3 [$e txn]
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/java/src/com/sleepycat/persist/
H A DSubIndex.java91 public boolean contains(Transaction txn, PK key, LockMode lockMode) argument
99 db.getSearchBoth(txn, keyEntry, pkeyEntry, dataEntry, lockMode);
109 public E get(Transaction txn, PK key, LockMode lockMode) argument
117 db.getSearchBoth(txn, keyEntry, pkeyEntry, dataEntry, lockMode);
149 public boolean delete(Transaction txn, PK key) argument
159 txn == null &&
161 txn = env.beginTransaction(null, null);
167 SecondaryCursor cursor = db.openSecondaryCursor(txn, null);
180 txn.abort();
182 txn
196 keys(Transaction txn, CursorConfig config) argument
208 entities(Transaction txn, CursorConfig config) argument
225 keys(Transaction txn, PK fromKey, boolean fromInclusive, PK toKey, boolean toInclusive, CursorConfig config) argument
247 entities(Transaction txn, PK fromKey, boolean fromInclusive, PK toKey, boolean toInclusive, CursorConfig config) argument
289 cursor(Transaction txn, PK fromKey, boolean fromInclusive, PK toKey, boolean toInclusive, ValueAdapter<V> adapter, CursorConfig config) argument
313 cursor(Transaction txn, KeyRange pkeyRange, ValueAdapter<V> adapter, CursorConfig config) argument
[all...]
H A DBasicIndex.java82 public boolean contains(Transaction txn, K key, LockMode lockMode) argument
89 OperationStatus status = db.get(txn, keyEntry, dataEntry, lockMode);
128 public boolean delete(Transaction txn, K key) argument
134 OperationStatus status = db.delete(txn, keyEntry);
144 public EntityCursor<K> keys(Transaction txn, CursorConfig config) argument
147 return cursor(txn, emptyRange, keyAdapter, config);
156 public EntityCursor<E> entities(Transaction txn, argument
160 return cursor(txn, emptyRange, entityAdapter, config);
171 public EntityCursor<K> keys(Transaction txn, argument
179 return cursor(txn, fromKe
191 entities(Transaction txn, K fromKey, boolean fromInclusive, K toKey, boolean toInclusive, CursorConfig config) argument
233 cursor(Transaction txn, K fromKey, boolean fromInclusive, K toKey, boolean toInclusive, ValueAdapter<V> adapter, CursorConfig config) argument
257 cursor(Transaction txn, KeyRange range, ValueAdapter<V> adapter, CursorConfig config) argument
[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 DOperationTest.java110 Transaction txn = txnBegin();
112 priIndex.put(txn, e);
114 txnCommit(txn);
138 Transaction txn = txnBeginCursor();
143 priIndex.put(txn, e);
145 EntityCursor<MyEntity> entities = priIndex.entities(txn, null);
172 txnCommit(txn);
187 Transaction txn = txnBeginCursor();
192 priIndex.put(txn, e);
194 EntityCursor<MyEntity> cursor = secIndex.entities(txn, nul
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/docs_src/ref/am/
H A Dsecond3.cs12 DB_TXN *txn;
36 if ((ret = dbp-__GT__del(dbp, txn, &key, 0)) != 0)
H A Dsecond4.cs11 DB_TXN *txn;
36 if ((ret = sdbp-__GT__del(sdbp, txn, &skey, 0)) != 0)
H A Dsecond5.cs11 DB_TXN *txn;
38 if ((ret = sdbp-__GT__pget(sdbp, txn, &skey, &pkey, &data, 0)) != 0)
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/examples_java/src/db/txn/
H A DPayloadData.java1 package db.txn;

Completed in 284 milliseconds

1234567891011>>