Searched refs:txn (Results 226 - 250 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 Drep043script.tcl45 -txn -rep_transport \[list $envid replsend\]"
49 # -txn -rep_transport \[list $envid replsend\]"
65 set markerenv [berkdb_env -home $testdir -txn]
89 set t [$dbenv txn]
90 error_check_good txn [is_valid_txn $t $dbenv] TRUE
91 set stat [catch {$db put -txn $t $key $str} res]
H A Drsrc002.tcl43 set txn ""
44 set dbc [eval {$db cursor} $txn]
H A Drep011.tcl91 # be used with -txn nosync.
123 set puttxn [$masterenv txn]
125 [$master_upg_db put -txn $puttxn hello world] 0
149 -txn nosync -errpfx NEWCLIENT $verbargs \
157 set puttxn [$newmasterenv txn]
159 [$client_upg_db put -txn $puttxn hello there] 0
H A Drep052.tcl17 # TEST on a txn API call (txn_begin) and an env API call.
100 # In-memory logs cannot be used with -txn nosync.
189 puts "\tRep$tnum.f: Verify we are locked out of txn API calls."
190 if { [catch { set txn [$clientenv txn] } res] } {
193 error "FAIL:[timestamp] Not locked out of txn API calls."
206 puts "\tRep$tnum.h: No longer locked out of txn API calls."
207 if { [catch { set txn [$clientenv txn] } res] } {
208 puts "FAIL: unable to start txn
[all...]
H A Drecd021.tcl36 set env [berkdb_env -create -home $testdir -txn]
62 set txn [$env txn]
63 set ret [do_op $omethod $op $names $txn $env]
65 error_check_good txn_commit [$txn commit] 0
129 set env [berkdb_env -create -home $testdir -txn]
166 set txn [$env txn]
176 set ret [do_subdb_op $omethod $op $names $txn $env]
178 error_check_good txn_commit [$txn commi
[all...]
H A Dtest109.tcl166 set txn ""
205 set t [$env txn]
206 error_check_good txn [is_valid_txn $t $env] TRUE
207 set txn "-txn $t"
210 $wrap -init $init -min $min -max $max $txn $inc $db $key]
213 set seq2 [eval {berkdb sequence} -create $sargs $txn $db $key]
309 set t [$env txn]
310 error_check_good txn [is_valid_txn $t $env] TRUE
311 set txn "
[all...]
H A Dfop001.tcl64 # The "end1" variable indicates whether the first txn
93 # The variable 'when' describes when to resolve a txn --
98 set env [berkdb_env -create -home $testdir -txn]
124 # The variable 'end' describes how to resolve the txn.
133 set txn [$env txn]
137 $omethod $op1 $names1 $txn $env $args]
149 $omethod $op2 $names2 $txn $env $args]
160 error_check_good txn_$end [$txn $end] 0
162 # If the txn wa
[all...]
H A Drecd005.tcl33 set eflags "-create -txn -lock_max_locks $max_locks \
166 set txn [$env txn]
167 error_check_bad txn_begin $txn NULL
168 error_check_good txn_begin [is_substr $txn $env] 1
171 populate $db $method $txn $num 0 0
180 error_check_good txn_$op:$txn [$txn $op] 0
H A Drep015.tcl89 # be used with -txn nosync.
128 set t [$masterenv txn]
129 error_check_good put_$db [eval $db put -txn $t \
134 set t [$masterenv txn]
136 error_check_good put_second [eval $db put -txn $t \
139 -txn $t \
164 set t [$masterenv txn]
169 set mcurs($i) [eval {$db cursor} -txn $t]
175 set ct [$clientenv txn]
179 set ccurs($i) [eval {$cdb cursor} -txn
[all...]
H A Drecd014.tcl48 set flags "-create -txn -home $testdir"
95 set t [$env txn]
98 set ret [catch {eval {berkdb_open} -txn $t $oflags} db]
101 set t [$env txn]
111 set putrecno [$db put -txn $t -append $data]
146 set t [$env txn]
282 set txn [$env txn]
283 error_check_good txn_begin [is_valid_txn $txn $env] TRUE
284 set putrecno [$db put -txn
[all...]
H A Drpc002.tcl59 -server $rpc_server -client_timeout 10000 -txn"
73 # Open an env with all the subsystems (-txn implies all
78 -server $rpc_server -client_timeout 10000 -txn}]
147 -txn}} ret]
153 -server $rpc_server -client_timeout 10000 -txn}} ret]
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/hash/
H A Dhash_open.c65 __ham_open(dbp, ip, txn, name, base_pgno, flags)
68 DB_TXN *txn;
89 txn, &dbc, LF_ISSET(DB_CREATE) && CDB_LOCKING(env) ?
331 __ham_new_file(dbp, ip, txn, fhp, name)
334 DB_TXN *txn;
358 if ((ret = __memp_fget(mpf, &lpgno, ip, txn,
365 txn, &lsn, meta->dbmeta.pgno, (PAGE *)meta)) != 0)
373 if ((ret = __memp_fget(mpf, &lpgno, ip, txn,
380 __db_log_page(dbp, txn, &page->lsn, lpgno, page)) != 0)
405 if ((ret = __fop_write(env, txn, nam
[all...]
H A Dhash_stub.c255 __ham_new_file(dbp, ip, txn, fhp, name)
258 DB_TXN *txn;
263 COMPQUIET(txn, NULL);
270 __ham_new_subdb(mdbp, dbp, ip, txn)
273 DB_TXN *txn;
276 COMPQUIET(txn, NULL);
282 __ham_open(dbp, ip, txn, name, base_pgno, flags)
285 DB_TXN *txn;
291 COMPQUIET(txn, NULL);
339 __ham_reclaim(dbp, ip, txn)
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/db/
H A Ddb_am.c19 #include "dbinc/txn.h"
34 __db_cursor_int(dbp, ip, txn, dbtype, root, flags, locker, dbcp)
37 DB_TXN *txn;
74 if (txn != NULL &&
77 (ret = __txn_record_fname(env, txn, dbp->log_filename)) != 0)
198 if ((dbc->txn = txn) != NULL)
199 dbc->locker = txn->locker;
283 if (txn != NULL)
284 ++txn
[all...]
H A Ddb_overflow.c68 __db_goff(dbp, ip, txn, dbt, tlen, pgno, bpp, bpsz)
71 DB_TXN *txn;
145 if ((ret = __memp_fget(mpf, &pgno, ip, txn, 0, &h)) != 0)
238 if ((ret = __db_big_log(dbp, dbc->txn,
303 dbc->thread_info, dbc->txn, DB_MPOOL_DIRTY, &h)) != 0)
308 dbc->txn, &LSN(h), 0, h->pgno, -1, &LSN(h))) != 0) {
353 dbc->thread_info, dbc->txn, 0, &pagep)) != 0)
368 dbc->thread_info, dbc->txn, dbc->priority, 0)) != 0) {
378 if ((ret = __db_big_log(dbp, dbc->txn,
417 __db_moff(dbp, ip, txn, db
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/btree/
H A Dbt_compact.c17 #include "dbinc/txn.h"
75 __bam_compact(dbp, ip, txn, start, stop, c_data, flags, end)
78 DB_TXN *txn;
121 if (IS_DB_AUTO_COMMIT(dbp, txn))
132 if (txn_local && (ret = __txn_begin(env, ip, NULL, &txn, 0)) != 0)
136 txn, flags, c_data, &list, &nelems, &last_pgno)) != 0) {
153 /* Commit the txn and release the meta page lock. */
155 if ((t_ret = __txn_commit(txn, DB_TXN_NOSYNC)) != 0 && ret == 0)
157 txn = NULL;
195 if ((ret = __txn_begin(env, ip, NULL, &txn,
[all...]
H A Dbt_compare.c59 __bam_cmp(dbp, ip, txn, dbt, h, indx, func, cmpp)
62 DB_TXN *txn;
143 return (__db_moff(dbp, ip, txn, dbt,
H A Dbt_curadj.c167 my_txn = IS_SUBTRANSACTION(my_dbc->txn) ? my_dbc->txn : NULL;
191 if (my_txn != NULL && dbc->txn != my_txn)
200 if ((ret = __bam_curadj_log(dbp, my_dbc->txn, &lsn, 0,
290 my_txn = IS_SUBTRANSACTION(my_dbc->txn) ? my_dbc->txn : NULL;
324 if (my_txn != NULL && dbc->txn != my_txn)
334 if ((t_ret = __bam_curadj_log(dbp, my_dbc->txn,
430 my_txn = IS_SUBTRANSACTION(my_dbc->txn) ? my_dbc->txn
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/rpc_client/
H A Dgen_client_ret.c14 #include "dbinc/txn.h"
138 DB_TXN *txn; local
148 if ((ret = __os_calloc(env, 1, sizeof(DB_TXN), &txn)) != 0)
153 * size of the txn structure. But if we're running on 64-bit
156 __dbcl_txn_setup(env, txn, parent, (u_int32_t)replyp->txnidcl_id);
157 *txnpp = txn;
171 DB_TXN *txn; local
179 if ((ret = __os_calloc(env, 1, sizeof(DB_TXN), &txn)) != 0)
184 * size of the txn structure. But if we're running on 64-bit
187 __dbcl_txn_setup(env, txn, NUL
238 DB_TXN *txnarray, *txn; local
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/txn/
H A Dtxn_recover.c12 #include "dbinc/txn.h"
22 * Return the txn that corresponds to this global ID.
204 1, sizeof(DB_TXN), &prepp->txn)) != 0) {
208 if ((ret = __txn_continue(env, prepp->txn, td)) != 0)
210 F_SET(prepp->txn, TXN_MALLOC);
212 F_SET(prepp->txn, TXN_NOSYNC);
214 F_SET(prepp->txn, TXN_WRITE_NOSYNC);
216 F_SET(prepp->txn, TXN_SYNC);
239 TAILQ_INSERT_TAIL(&mgr->txn_chain, txns[i].txn, links);
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/qam/
H A Dqam_open.c30 __qam_open(dbp, ip, txn, name, base_pgno, mode, flags)
33 DB_TXN *txn;
75 if ((ret = __db_cursor(dbp, ip, txn, &dbc,
88 if ((ret = __memp_fget(mpf, &base_pgno, ip, txn, 0, &qmeta)) != 0)
285 __qam_new_file(dbp, ip, txn, fhp, name)
288 DB_TXN *txn;
314 if ((ret = __memp_fget(mpf, &pgno, ip, txn,
322 txn, &meta->dbmeta.lsn, pgno, (PAGE *)meta)) != 0)
343 ret = __fop_write(env, txn, name,
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/perl/BerkeleyDB/t/
H A Djoin.t82 ok 10, my $txn = $env->txn_begin() ;
89 -Txn => $txn ;
98 -Txn => $txn ;
106 -Txn => $txn ;
213 ok 39, ($status = $txn->txn_commit()) == 0;
215 undef $txn ;
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/perl/BerkeleyDB/
H A DBerkeleyDB.xs35 /* This clashes with the txn abort method in Berkeley DB 4.x */
243 DB_TXN * txn ;
280 DB_TXN * txn ;
306 DB_TXN * txn ;
679 Trace((" Aborting Transaction [%d] in [%d] Active [%d]\n", tid->txn, tid, tid->active));
682 tid->txn->abort(tid->txn) ;
684 txn_abort(tid->txn);
846 if ( ((db->dbp)->cursor)(db->dbp, db->txn, &cursor) == 0 )
848 if ( ((db->dbp)->cursor)(db->dbp, db->txn,
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/java/src/com/sleepycat/persist/impl/
H A DStore.java164 Transaction txn = null;
167 txn = env.beginTransaction(null, null);
178 (txn, env, storePrefix, storePrefix + CATALOG_DB,
183 if (txn != null) {
185 txn.commit();
187 txn.abort();
330 Transaction txn = null;
334 txn = env.beginTransaction(null, null);
347 (env, txn, fileAndDbNames[0], fileAndDbNames[1],
367 openSecondaryIndexes(txn, entityMet
593 openSecondaryIndexes(Transaction txn, EntityMetadata entityMeta, PrimaryOpenState priOpenState) argument
631 openSecondaryIndex(Transaction txn, PrimaryIndex<PK,E1> primaryIndex, Class<E2> entityClass, EntityMetadata entityMeta, Class<SK> keyClass, String keyClassName, SecondaryKeyMetadata secKeyMeta, String secName, boolean doNotCreate, PrimaryOpenState priOpenState) argument
719 truncateClass(Transaction txn, Class entityClass) argument
758 truncateIfExists(Transaction txn, String dbName) argument
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/common/
H A Ddb_err.c17 #include "dbinc/txn.h"
699 __db_check_txn(dbp, txn, assoc_locker, read_op)
701 DB_TXN *txn;
727 if (txn == NULL || F_ISSET(txn, TXN_PRIVATE)) {
737 } else if (F_ISSET(txn, TXN_CDSGROUP)) {
758 if (F_ISSET(txn, TXN_DEADLOCK))
759 return (__db_txn_deadlock_err(env, txn));
762 dbp->cur_locker->id != txn->txnid) {
764 dbp->cur_locker, txn
[all...]

Completed in 200 milliseconds

1234567891011>>