Searched refs:txn (Results 326 - 350 of 422) sorted by relevance

<<11121314151617

/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/test/
H A Denv008.tcl25 set env [berkdb_env -create -mode 0644 -home $testdir -txn]
H A Drep043.tcl88 # be used with -txn nosync.
132 set markerenv [berkdb_env -create -home $testdir -txn]
180 set t [$masterenv txn]
182 {eval {$mdb put} -txn $t $key $data} ret]
H A Drep079.tcl96 # In-memory logs cannot be used with -txn nosync.
302 puts "\tRep$tnum.h: Check expired lease error on txn commit."
308 set txn [$masterenv txn]
309 set stat [catch {$txn commit} ret]
H A Drpc005.tcl38 -server $rpc_server -txn}]
49 -server $rpc_server -txn}]
54 -server $rpc_server -txn nosync}]
H A Dmdbscript.tcl54 set txn ""
178 set rec [eval {$db get} $txn $gflags {$key}]
196 $txn $pflags {$key [chop_data $method $data]}]
H A Drep065script.tcl113 -errpfx MASTER -txn -rep_master \
118 # -errpfx MASTER -txn -rep_master \
125 -errpfx CLIENT -txn -rep_client \
130 # -errpfx CLIENT -txn -rep_client \
223 -errpfx MASTER -txn -rep_master \
226 # -errpfx MASTER -txn -rep_master \
231 -errpfx CLIENT -txn -rep_client \
234 # -errpfx CLIENT -txn -rep_client \
286 set rep_env_cmd "berkdb_env_noerr -home $mydir -txn \
305 set txn ""
[all...]
H A Dtest089.tcl53 set txn ""
66 $txn $pflags {$key [chop_data $method $datastr]}]
69 $txn $pflags {$key [chop_data $method $datastr]}]
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/btree/
H A Dbt_recno.c77 (DBC_LOGGING((dbc)) && (dbc)->txn != NULL && (dbc)->txn->parent != NULL)
102 __ram_open(dbp, ip, txn, name, base_pgno, flags)
105 DB_TXN *txn;
118 if ((ret = __bam_read_root(dbp, ip, txn, base_pgno, flags)) != 0)
232 &cp->csp->page, dbc->thread_info, dbc->txn, dbc->priority, 0)) != 0)
263 CURADJ_LOG(dbc) && (ret = __bam_rcuradj_log(dbp, dbc->txn,
535 if ((ret = __bam_cmp(dbp, dbc->thread_info, dbc->txn,
608 (ret = __bam_rcuradj_log(dbp, dbc->txn, &lsn, 0,
684 (ret = __bam_rcuradj_log(dbp, dbc->txn,
[all...]
H A Dbt_cursor.c61 (dbc)->thread_info, (dbc)->txn, 0, &(pagep)); \
382 dbc->thread_info, dbc->txn, 0, &h)) != 0)
493 dbc->txn, DB_MPOOL_DIRTY, &cp_c->page)) != 0)
516 dbc->thread_info, dbc->txn, 0, &h)) != 0)
545 dbc->txn, DB_MPOOL_DIRTY, &cp->page)) != 0)
621 dbc->thread_info, dbc->txn, 0, &cp->page)) != 0)
646 dbc->thread_info, dbc->txn, 0, &cp->page)) != 0)
726 &cp->page, dbc->thread_info, dbc->txn, dbc->priority, 0)) != 0)
731 if ((ret = __bam_cdel_log(dbp, dbc->txn, &LSN(cp->page), 0,
833 dbc->thread_info, dbc->txn,
[all...]
H A Dbt_stat.c66 dbc->thread_info, dbc->txn, 0, &meta)) != 0)
77 dbc->thread_info, dbc->txn, 0, &h)) != 0)
92 dbc->thread_info, dbc->txn, 0, &h)) != 0)
116 (!MULTIVERSION(dbp) || dbc->txn != NULL);
131 dbc->thread_info, dbc->txn,
142 dbc->thread_info, dbc->txn, 0, &h)) != 0)
580 dbc->thread_info, dbc->txn, 0, &h)) != 0) {
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/build_vxworks/db_load/
H A Ddb_load.c287 DB_TXN *ctxn, *txn; local
297 ctxn = txn = NULL;
456 (ret = dbenv->txn_begin(dbenv, NULL, &txn, 0)) != 0)
496 retry: if (txn != NULL)
497 if ((ret = dbenv->txn_begin(dbenv, txn, &ctxn, 0)) != 0)
519 /* If we have a child txn, retry--else it's fatal. */
542 if (txn != NULL && (ret = txn->commit(txn, 0)) != 0) {
543 txn
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/db_load/
H A Ddb_load.c272 DB_TXN *ctxn, *txn; local
282 ctxn = txn = NULL;
441 (ret = dbenv->txn_begin(dbenv, NULL, &txn, 0)) != 0)
481 retry: if (txn != NULL)
482 if ((ret = dbenv->txn_begin(dbenv, txn, &ctxn, 0)) != 0)
504 /* If we have a child txn, retry--else it's fatal. */
527 if (txn != NULL && (ret = txn->commit(txn, 0)) != 0) {
528 txn
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/dbinc/
H A Dlog.h54 /* number of txn referencing + 1 for the db handle. */
62 #define DB_FNAME_RESTORED 0x20 /* File may be in restored txn. */
350 db_mutex_t mtx_txnwait; /* Mutex for txn to wait on. */
401 #define DB_SET_TXN_LSNP(txn, blsnp, llsnp) do { \
404 __td = (txn)->td; \
407 __td = R_ADDR(&(txn)->mgrp->reginfo, __td->parent); \
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/cxx/
H A Dcxx_env.cpp357 (DbTxn *txn, const char *name, const char *subdb, u_int32_t flags),
358 (dbenv, unwrap(txn), name, subdb, flags))
359 DBENV_METHOD(dbrename, (DbTxn *txn, const char *name, const char *subdb,
361 (dbenv, unwrap(txn), name, subdb, newname, flags))
478 int DbEnv::log_printf(DbTxn *txn, const char *fmt, ...) argument
485 ret = __log_printf_pp(dbenv, unwrap(txn), fmt, ap);
959 DB_TXN *txn; local
962 ret = dbenv->cdsgroup_begin(dbenv, &txn);
964 *tid = new DbTxn(txn);
974 DB_TXN *txn; local
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/test/scr024/src/com/sleepycat/collections/test/
H A DTransactionTest.java134 return "txn-test-" + getName() + '-' + i;
282 Transaction txn = currentTxn.abortTransaction();
283 assertTrue(txn == txn2);
284 assertTrue(txn == currentTxn.getTransaction());
298 txn = currentTxn.commitTransaction();
299 assertTrue(txn == txn2);
300 assertTrue(txn == currentTxn.getTransaction());
304 txn = currentTxn.commitTransaction();
305 assertTrue(txn == txn1);
306 assertTrue(txn
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/xa/
H A Dxa.c12 #include "dbinc/txn.h"
171 __xa_txn_continue(env, txn, td)
173 DB_TXN *txn;
180 ret = __txn_continue(env, txn, td);
416 DB_TXN *txn; local
430 if (__xa_get_txn(env, &txn, 0) != 0)
434 if (td != txn->td)
459 (void)__xa_put_txn(env, txn);
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/mp/
H A Dmp_mvcc.c14 #include "dbinc/txn.h"
93 DB_TXN *txn; local
107 for (txn = dbc->txn; txn->parent != NULL; txn = txn->parent)
126 if (!BH_OWNED_BY(env, bhp, txn))
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/perl/BerkeleyDB/t/
H A Dhash.t439 ok 148, my $txn = $env->txn_begin() ;
443 -Txn => $txn ;
446 ok 150, $txn->txn_commit() == 0 ;
447 ok 151, $txn = $env->txn_begin() ;
448 $db1->Txn($txn);
475 ok 155, $txn->txn_abort() == 0 ;
486 undef $txn ;
/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 DPersistCatalog.java159 public PersistCatalog(Transaction txn, argument
178 (env, txn, fileAndDbNames[0], fileAndDbNames[1],
186 catalogData = readData(txn);
404 evolver.renameAndRemoveDatabases(store, txn);
413 writeData(txn, catalogData);
845 private Data readData(Transaction txn) argument
851 OperationStatus status = db.get(txn, key, data, null);
884 * Writes catalog Data. If txn is null, auto-commit is used.
886 private void writeData(Transaction txn, Data catalogData) argument
902 db.put(txn, ke
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/db/
H A Ddb_pr.c50 __db_dumptree(dbp, txn, op, name)
52 DB_TXN *txn;
89 ret = __db_prtree(dbp, txn, flags);
219 __db_prtree(dbp, txn, flags)
221 DB_TXN *txn;
241 if ((ret = __memp_fget(mpf, &i, NULL, txn, 0, &h)) != 0)
437 __db_prnpage(dbp, txn, pgno)
439 DB_TXN *txn;
448 if ((ret = __memp_fget(mpf, &pgno, NULL, txn, 0, &h)) != 0)
969 __db_dumptree(dbp, txn, o
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/examples_java/src/persist/
H A DEventExample.java181 eventDb = env.openDatabase(null, // use auto-commit txn
270 Transaction txn = env.beginTransaction(null, null);
284 eventDb.put(txn, key, data);
286 txn.commitWriteNoSync();
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/build_vxworks/test_micro/
H A Db_inmem.c175 DB_TXN *txn; local
246 dbenv->txn_begin(dbenv, NULL, &txn, 0) == 0);
249 DB_BENCH_ASSERT(txn->commit(txn, 0) == 0);
346 } else if (strcasecmp(argv[0], "txn-read") == 0) {
353 } else if (strcasecmp(argv[0], "txn-write") == 0) {
368 } else if (strcasecmp(argv[0], "txn-nosync") == 0) {
375 } else if (strcasecmp(argv[0], "txn-write-nosync") == 0) {
386 } else if (strcasecmp(argv[0], "txn-sync") == 0) {
412 "[read | bulk | write | txn
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/examples_java/src/db/txn/
H A DTxnGuideInMemory.java3 package db.txn;
110 // Open the database. Do not provide a txn handle. This open
113 myDb = myEnv.openDatabase(null, // txn handle
121 myClassDb = myEnv.openDatabase(null, // txn handle
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/examples_java/src/persist/txn/
H A DTxnGuideDPL.java3 package persist.txn;
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/mod_db4/
H A Dutils.c229 static void register_transaction(DB_TXN *txn) argument
231 skiplist_insert(&open_transactions, txn);
234 static void unregister_transaction(DB_TXN *txn) argument
236 skiplist_remove(&open_transactions, txn, NULL);

Completed in 206 milliseconds

<<11121314151617