/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/db-4.7.25.NC/db/ |
H A D | db_cds.c | 15 #include "dbinc/txn.h" 17 static int __cdsgroup_abort __P((DB_TXN *txn)); 18 static int __cdsgroup_commit __P((DB_TXN *txn, u_int32_t flags)); 19 static int __cdsgroup_discard __P((DB_TXN *txn, u_int32_t flags)); 20 static u_int32_t __cdsgroup_id __P((DB_TXN *txn)); 22 static int __cdsgroup_prepare __P((DB_TXN *txn, u_int8_t *gid)); 23 static int __cdsgroup_set_name __P((DB_TXN *txn, const char *name)); 25 __P((DB_TXN *txn, db_timeout_t timeout, u_int32_t flags)); 41 __cdsgroup_abort(txn) 42 DB_TXN *txn; 132 DB_TXN *txn; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/db-4.7.25.NC/java/src/com/sleepycat/db/ |
H A D | PreparedTransaction.java | 18 private Transaction txn; field in class:PreparedTransaction 20 PreparedTransaction(final DbTxn txn, final byte[] gid) { argument 21 this.txn = new Transaction(txn); 36 return txn;
|
H A D | Transaction.java | 33 Transaction txn = myEnvironment.beginTransaction(null, null); 39 Transaction txn = myEnvironment.beginTransaction(null, config); 43 /*package */ final DbTxn txn; field in class:Transaction 45 Transaction(final DbTxn txn) { argument 46 this.txn = txn; 72 txn.abort(); 113 txn.commit(0); 151 txn.commit(DbConstants.DB_TXN_SYNC); 191 txn [all...] |
H A D | Database.java | 35 Database newlyCreateDb = env.openDatabase(txn, "mydatabase", dbConfig); 199 @param txn 226 public CompactStats compact(final Transaction txn, argument 236 db.compact((txn == null) ? null : txn.txn, 244 @param txn 251 within the context of a transaction, and the txn parameter specifies the 262 public Cursor openCursor(final Transaction txn, CursorConfig config) argument 266 db, (txn 288 openSequence(final Transaction txn, final DatabaseEntry key, final SequenceConfig config) argument 312 removeSequence(final Transaction txn, final DatabaseEntry key, SequenceConfig config) argument 457 append(final Transaction txn, final DatabaseEntry key, final DatabaseEntry data) argument 502 consume(final Transaction txn, final DatabaseEntry key, final DatabaseEntry data, final boolean wait) argument 547 delete(final Transaction txn, final DatabaseEntry key) argument 580 exists(final Transaction txn, final DatabaseEntry key) argument 622 get(final Transaction txn, final DatabaseEntry key, final DatabaseEntry data, final LockMode lockMode) argument 663 getKeyRange(final Transaction txn, final DatabaseEntry key) argument 701 getSearchBoth(final Transaction txn, final DatabaseEntry key, final DatabaseEntry data, final LockMode lockMode) argument 748 getSearchRecordNumber(final Transaction txn, final DatabaseEntry key, final DatabaseEntry data, final LockMode lockMode) argument 790 put(final Transaction txn, final DatabaseEntry key, final DatabaseEntry data) argument 829 putNoDupData(final Transaction txn, final DatabaseEntry key, final DatabaseEntry data) argument 868 putNoOverwrite(final Transaction txn, final DatabaseEntry key, final DatabaseEntry data) argument 947 truncate(final Transaction txn, boolean countRecords) argument 991 getStats(final Transaction txn, StatsConfig config) argument [all...] |
H A D | SecondaryDatabase.java | 135 public Cursor openCursor(final Transaction txn, final CursorConfig config) argument 138 return openSecondaryCursor(txn, config); 146 @param txn 153 within the context of a transaction, and the txn parameter specifies the 164 public SecondaryCursor openSecondaryCursor(final Transaction txn, argument 170 (txn == null) ? null : txn.txn), config); 208 @param txn 239 public OperationStatus get(final Transaction txn, argument 284 getSearchBoth(final Transaction txn, final DatabaseEntry key, final DatabaseEntry pKey, final DatabaseEntry data, final LockMode lockMode) argument 333 getSearchRecordNumber(final Transaction txn, final DatabaseEntry key, final DatabaseEntry pKey, final DatabaseEntry data, final LockMode lockMode) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/db-4.7.25.NC/cxx/ |
H A D | cxx_txn.cpp | 16 #include "dbinc/txn.h" 28 DB_TXN *txn = unwrap(this); \ 29 DbEnv *dbenv = DbEnv::get_DbEnv(txn->mgrp->env->dbenv); \ 31 ret = txn->_name _arglist; \ 46 DbTxn::DbTxn(DB_TXN *txn) argument 47 : imp_(txn) 49 txn->api_internal = this; 56 DBTXN_METHOD(abort, 1, (), (txn)) 57 DBTXN_METHOD(commit, 1, (u_int32_t flags), (txn, flags)) 58 DBTXN_METHOD(discard, 1, (u_int32_t flags), (txn, flag 62 DB_TXN *txn; local 75 wrap_DB_TXN(DB_TXN *txn) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/db-4.7.25.NC/php_db4/samples/ |
H A D | transactional_counter.php | 17 $txn = $dbenv->txn_begin(); variable 18 if($txn == false) { 24 // Increment and reset counter, protect it with $txn 25 $db->put("counter", $counter+1, $txn); 28 $txn->commit();
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/db-4.7.25.NC/txn/ |
H A D | txn.c | 37 * $Id: txn.c,v 12.89 2008/04/19 15:47:42 mjc Exp $ 50 #include "dbinc/txn.h" 52 #define LOG_FLAGS(txn) \ 53 (DB_LOG_COMMIT | (F_ISSET(txn, TXN_SYNC) ? \ 54 DB_FLUSH : (F_ISSET(txn, TXN_WRITE_NOSYNC) ? \ 131 * txn is resolved by txn_commit, txn_abort, etc. 164 DB_TXN *txn; local 169 if ((ret = __os_calloc(env, 1, sizeof(DB_TXN), &txn)) != 0) 173 txn->mgrp = env->tx_handle; 174 txn 337 DB_TXN *txn; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/db-4.7.25.NC/test/ |
H A D | test061.tcl | 8 # TEST Test of txn abort and commit for in-memory databases. 46 set txn "" 59 set eflags "-create -txn $encargs -home $testdir" 77 set txn [$dbenv txn] 78 error_check_good txn_begin [is_valid_txn $txn $dbenv] TRUE 81 set ret [eval {$db put} -txn $txn {$key [chop_data $method $data]}] 85 set ret [eval {$db get} -txn $txn [all...] |
H A D | test071.tcl | 11 {mode CONSUME} {start 0 } {txn -txn} {tnum "071"} args } { 14 $nconsumers $nproducers $nitems $mode $start $txn $tnum $args
|
H A D | test101.tcl | 10 proc test101 { method {nentries 1000} {txn -txn} {tnum "101"} args} { 15 eval {test070 $method 4 2 $nentries WAIT 4294967000 $txn $tnum} $args
|
H A D | log008script.tcl | 30 set envcmd "berkdb_env -create -txn -home $testdir \ 48 set txn [$dbenv txn] 51 db_put [$handle put -txn $txn key.$i data.$i] 0 54 error_check_good txn_commit [$txn commit] 0 70 set txn [$dbenv txn] 73 db_put [$handle put -txn $txn ke [all...] |
H A D | rpc004.tcl | 45 -server $rpc_server -encryptaes $passwd -txn}] 60 set txn [$env txn] 61 error_check_good txn [is_valid_txn $txn $env] TRUE 66 set ret [$db put -txn $txn $key $data] 68 set ret [$db get -txn $txn $key] 70 set ret [$db1 put -txn [all...] |
H A D | test123.tcl | 11 # TEST Start a "txn" with -cdsgroup. 13 # TEST in both within the same txn. This should succeed. 45 set txn [$env cdsgroup] 50 -create -env $env $args $omethod -txn $txn $dbname "A"] 52 set curs1 [eval {$db1 cursor} -update -txn $txn] 58 -create -env $env $args $omethod -txn $txn $dbname "B"] 60 set curs2 [eval {$db2 cursor} -update -txn [all...] |
H A D | test086.tcl | 31 set txn "" 47 set env [eval {berkdb_env -create -home $testdir -txn} $encargs] 59 set txn [$env txn] 60 error_check_good txn [is_valid_txn $txn $env] TRUE 62 set ret [$db put -txn $txn key000$i $data$i] 65 error_check_good commit [$txn commit] 0 69 set txn [ [all...] |
H A D | txn001.tcl | 25 set env [eval {berkdb_env -create -mode 0644 -txn \ 45 set txn [$env txn] 46 error_check_good txn_begin [is_valid_txn $txn $env] TRUE 48 lappend txn_list $txn 50 set tid [$txn id] 68 set txn [$env txn] 69 error_check_good txn_begin [is_valid_txn $txn $env] TRUE 71 lappend txn_list $txn [all...] |
H A D | foputils.tcl | 7 proc do_op {omethod op names txn env {largs ""}} { 10 rename { do_rename $names $txn $env } 11 remove { do_remove $names $txn $env } 13 open_create { do_create $omethod $names $txn $env $largs } 14 open { do_open $omethod $names $txn $env $largs } 15 open_excl { do_create_excl $omethod $names $txn $env $largs } 16 truncate { do_truncate $omethod $names $txn $env $largs } 21 proc do_subdb_op {omethod op names txn env {largs ""}} { 28 rename { do_subdb_rename $names $txn $env } 29 remove { do_subdb_remove $names $txn [all...] |
H A D | envscript.tcl | 44 -create -home $testdir -txn -register $flags} dbenv]} { 58 set txn [$dbenv txn] 59 error_check_good db_put [eval {$db put} -txn $txn $key $data] 0 60 error_check_good txn_commit [$txn commit] 0 68 set txn [$dbenv txn] 70 [eval {$db put} -txn $txn [all...] |
H A D | test029.tcl | 92 set txn "" 107 set t [$env txn] 108 error_check_good txn [is_valid_txn $t $env] TRUE 109 set txn "-txn $t" 112 $txn $pflags {$key [chop_data $method $k]}] 115 set ret [eval {$db get} $txn $gflags {$key}] 118 error_check_good txn [$t commit] 0 133 set t [$env txn] 134 error_check_good txn [is_valid_tx [all...] |
H A D | txn006.tcl | 17 # Open/create the txn region 18 set e [berkdb_env -create -home $testdir -txn] 27 set txn [$e txn] 28 error_check_good txn [is_valid_txn $txn $e] TRUE 33 error_check_good put [$db put -txn $txn key$i data$i] 0 37 error_check_good txn_commit [$txn commit] 0
|
H A D | txn007.tcl | 16 # Open/create the txn region 18 set e [berkdb_env -create -home $testdir -txn -wrnosync] 30 set txn [$e txn] 31 error_check_good txn [is_valid_txn $txn $e] TRUE 32 $db put -txn $txn key$i data$i 33 error_check_good txn_commit [$txn commit] 0
|
H A D | test047.tcl | 26 set txn "" 65 set t [$env txn] 66 error_check_good txn [is_valid_txn $t $env] TRUE 67 set txn "-txn $t" 69 set ret [eval {$db put} $txn {$key$i $data$i}] 72 error_check_good txn [$t commit] 0 77 set t [$env txn] 78 error_check_good txn [is_valid_txn $t $env] TRUE 79 set txn " [all...] |
H A D | test008.tcl | 70 set txn "" 82 set t [$env txn] 83 error_check_good txn [is_valid_txn $t $env] TRUE 84 set txn "-txn $t" 86 put_file $db $txn $pflags $f 88 error_check_good txn [$t commit] 0 92 set t [$env txn] 93 error_check_good txn [is_valid_txn $t $env] TRUE 94 set txn " [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/db-4.7.25.NC/test_micro/source/ |
H A D | b_txn.c | 14 DB_TXN *txn; local 54 DB_BENCH_ASSERT(txn_begin(dbenv, NULL, &txn, 0) == 0); 55 DB_BENCH_ASSERT(txn_abort(txn) == 0); 58 dbenv->txn_begin(dbenv, NULL, &txn, 0) == 0); 59 DB_BENCH_ASSERT(txn->abort(txn) == 0); 65 DB_BENCH_ASSERT(txn_begin(dbenv, NULL, &txn, 0) == 0); 66 DB_BENCH_ASSERT(txn_commit(txn, 0) == 0); 69 dbenv->txn_begin(dbenv, NULL, &txn, 0) == 0); 70 DB_BENCH_ASSERT(txn [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/db-4.7.25.NC/build_vxworks/test_micro/ |
H A D | b_txn.c | 14 DB_TXN *txn; local 55 DB_BENCH_ASSERT(txn_begin(dbenv, NULL, &txn, 0) == 0); 56 DB_BENCH_ASSERT(txn_abort(txn) == 0); 59 dbenv->txn_begin(dbenv, NULL, &txn, 0) == 0); 60 DB_BENCH_ASSERT(txn->abort(txn) == 0); 66 DB_BENCH_ASSERT(txn_begin(dbenv, NULL, &txn, 0) == 0); 67 DB_BENCH_ASSERT(txn_commit(txn, 0) == 0); 70 dbenv->txn_begin(dbenv, NULL, &txn, 0) == 0); 71 DB_BENCH_ASSERT(txn [all...] |