/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/test/ |
H A D | rep036script.tcl | 50 -txn -rep_master -rep_transport \[list $envid replsend\]" 54 # -txn -rep_master -rep_transport \[list $envid replsend\]" 83 set t [$masterenv txn] 84 error_check_good txn [is_valid_txn $t $masterenv] TRUE 85 set txn "-txn $t" 92 # $txn {$key [chop_data $method $str]}} ret] } { 98 {$mdb put} $txn {$key [chop_data $method $str]}] 100 error_check_good txn [$t commit] 0 120 set markerenv [berkdb_env -create -home $testdir -txn] [all...] |
H A D | test059.tcl | 44 set txn "" 59 set t [$env txn] 60 error_check_good txn [is_valid_txn $t $env] TRUE 61 set txn "-txn $t" 63 set r [eval {$db put} $txn $pflags {$key datum$key}] 66 error_check_good txn [$t commit] 0 73 set t [$env txn] 74 error_check_good txn [is_valid_txn $t $env] TRUE 75 set txn " [all...] |
H A D | txn012.tcl | 8 # TEST Test txn->getname and txn->setname. 14 puts "Txn012: Test txn->setname and txn->getname." 16 set txnname "this is a short txn name" 19 puts "\tTxn012.a: Set up env and txn." 20 set env [berkdb_env -create -home $testdir -txn] 22 set txn0 [$env txn] 23 set txn1 [$env txn] 34 # Run db_stat. The long txn nam [all...] |
H A D | fop005.tcl | 70 set largs " -txn" 102 # Use berkdb dbremove for non-txn tests 115 set txn [$env txn] 118 -txn $txn $file] 0 119 error_check_good txn_$op [$txn $op] 0
|
H A D | recd020.tcl | 34 set flags "-create -txn -home $testdir" 45 set txn [$env txn] 49 {$db put} -txn $txn $i [chop_data $method $data.$i]] 0 51 error_check_good txn_commit [$txn commit] 0
|
H A D | test122.tcl | 42 puts "\tTest$tnum.a: Creating txn env." 43 set env [eval {berkdb_env} -create -txn $encargs -home $testdir] 61 # Open a read-only handle and also a txn -snapshot handle. 62 puts "\tTest$tnum.c: Open read-only handle and txn -snapshot handle." 63 set t [$env txn -snapshot] 64 set txn "-txn $t" 66 $txn -env $env $omethod $args $filename] 85 set s_ret [eval {$snapshotdb get} $txn $i]
|
H A D | sdb003.tcl | 60 set txn "" 97 set t [$env txn] 98 error_check_good txn [is_valid_txn $t $env] TRUE 99 set txn "-txn $t" 102 $txn $pflags {$key [chop_data $method $str]}] 105 error_check_good txn [$t commit] 0 117 set t [$env txn] 118 error_check_good txn [is_valid_txn $t $env] TRUE 119 set txn " [all...] |
H A D | test001.tcl | 81 set txn "" 110 set t [$env txn] 111 error_check_good txn [is_valid_txn $t $env] TRUE 112 set txn "-txn $t" 115 {$db put} $txn $pflags {$key [chop_data $method $str]}] 118 error_check_good txn [$t commit] 0 142 set t [$env txn] 143 error_check_good txn [is_valid_txn $t $env] TRUE 144 set txn " [all...] |
H A D | test003.tcl | 63 set txn "" 94 set t [$env txn] 95 error_check_good txn [is_valid_txn $t $env] TRUE 96 set txn "-txn $t" 99 $txn $pflags {$key [chop_data $method $data]}] 102 error_check_good txn [$t commit] 0 128 set t [$env txn] 129 error_check_good txn [is_valid_txn $t $env] TRUE 130 set txn " [all...] |
H A D | test015.tcl | 123 set txn "" 178 set t [$env txn] 179 error_check_good txn [is_valid_txn $t $env] TRUE 180 set txn "-txn $t" 182 set ret [eval {$db put} $txn \ 186 error_check_good txn [$t commit] 0 196 set t [$env txn] 197 error_check_good txn [is_valid_txn $t $env] TRUE 198 set txn " [all...] |
H A D | test103.tcl | 70 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 {$k [chop_data $method $str]}] 95 error_check_good txn [$t commit] 0 135 set t [$env txn] 136 error_check_good txn [is_valid_txn $t $env] TRUE 137 set txn " [all...] |
H A D | txn011.tcl | 27 -home $testdir -txn -log_inmemory -log_buffer $lbuf" 75 -home $testdir -txn -log_inmemory -log_buffer $lbuf" 168 set txn [$env txn] 169 error_check_good txn_begin [is_valid_txn $txn $env] TRUE 171 error_check_good db_put_txn [$db put -txn $txn $i $str] 0 172 error_check_good txn_$end [$txn $end] 0 181 set t [$env txn] 182 error_check_good txn [is_valid_tx [all...] |
H A D | test052.tcl | 25 set txn "" 61 set t [$env txn] 62 error_check_good txn [is_valid_txn $t $env] TRUE 63 set txn "-txn $t" 65 set ret [eval {$db put} $txn {$i $data$i}] 68 error_check_good txn [$t commit] 0 74 set t [$env txn] 75 error_check_good txn [is_valid_txn $t $env] TRUE 76 set txn " [all...] |
H A D | rep024.tcl | 77 # be used with -txn nosync. This test requires -txn, so 86 -errpfx MASTER $verbargs -txn $m_logargs \ 94 -errpfx CLIENT $verbargs -txn $c_logargs \ 133 set txn [$masterenv txn] 135 -txn $txn {$key [chop_data $method $bigdata]}] 0 136 error_check_good txn_commit [$txn commit] 0 170 set txn [ [all...] |
H A D | rsrc001.tcl | 40 set txn "" 42 set ret [eval {$db put} $txn {1 $rec1}] 71 set dbc [eval {$db cursor} $txn] 89 set ret [eval {$db put} $txn {$key $data}] 106 set ret [eval {$db put} $txn {-append $rec}] 122 set ret [eval {$db put} $txn {$key $rec}] 143 set ret [eval {$db put} $txn {$key $rec}] 157 set ret [eval {$db put} $txn {$key $rec}] 178 set ret [eval {$db put} $txn {$key $rec}] 197 set ret [eval {$db put} $txn { [all...] |
H A D | test023.tcl | 56 set txn "" 59 set t [$env txn] 60 error_check_good txn [is_valid_txn $t $env] TRUE 61 set txn "-txn $t" 63 set dbc [eval {$db cursor} $txn] 76 [eval {$db put} $txn $pflags {$key $count$dupstr}] 83 dump_file $db $txn $t1 test023.check 172 set dbc2 [eval {$db cursor} $txn] 194 set ret [eval {$db del} $txn { [all...] |
H A D | memp003.tcl | 50 set txn "" 59 set ret [eval {$db put} $txn {$str $str}] 62 set ret [eval {$db get} $txn {$str}] 94 set ret [eval {$db get} $txn {$key}] 125 set ret [eval {$db get} $txn {$key}] 138 dump_file $db $txn $t1 nop
|
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/java/src/com/sleepycat/collections/ |
H A D | CurrentTransaction.java | 162 return (trans != null) ? trans.txn : null; 200 if (trans.txn != null) { 205 Transaction parentTxn = trans.txn; 207 trans.txn = env.beginTransaction(parentTxn, config); 210 trans.txn = env.beginTransaction(null, config); 215 trans.txn = env.beginTransaction(null, config); 218 return trans.txn; 240 if (trans != null && trans.txn != null) { 242 trans.txn.commit(); 268 if (trans != null && trans.txn ! 300 private Transaction txn; field in class:CurrentTransaction.Trans 314 openCursor(Database db, CursorConfig cursorConfig, boolean writeCursor, Transaction txn) argument [all...] |
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/qam/ |
H A D | qam_method.c | 17 #include "dbinc/txn.h" 267 __qam_remove(dbp, txn, name, subdb) 269 DB_TXN *txn; 272 return (__qam_rr(dbp, txn, name, subdb, NULL, QAM_NAME_REMOVE)); 283 __qam_rename(dbp, txn, name, subdb, newname) 285 DB_TXN *txn; 288 return (__qam_rr(dbp, txn, name, subdb, newname, QAM_NAME_RENAME)); 296 __qam_rr(dbp, txn, name, subdb, newname, op) 298 DB_TXN *txn; 333 if ((ret = __db_open(tmpdbp, ip, txn, [all...] |
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/examples_c/txn_guide/ |
H A D | txn_guide.c | 208 DB_TXN *txn; local 246 ret = envp->txn_begin(envp, NULL, &txn, 0); 263 switch (ret = dbp->put(dbp, txn, &key, &value, 0)) { 289 (void)txn->abort(txn); 316 ret = txn->abort(txn); 319 "txn abort failed"); 336 ret = txn->commit(txn, 365 count_records(DB *dbp, DB_TXN *txn) 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 D | JoinTest.java | 86 Transaction txn = txnBegin(); 89 boolean ok = primary.putNoOverwrite(txn, e); 92 txnCommit(txn); 126 Transaction txn = txnBegin(); 130 ForwardCursor<Integer> keys = join.keys(txn, null); 139 ForwardCursor<MyEntity> entities = join.entities(txn, null); 146 txnCommit(txn);
|
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/examples_c/ |
H A D | bench_001.c | 62 db_init(home, prefix, cachesize, txn) 65 int txn; 81 if (txn) 96 get(dbp, txn, datalen, num, dups, iter, countp) 99 int txn, num, dups, iter, *countp; 130 if (txn) 156 if (txn) 176 fill(dbenv, dbp, txn, datalen, num, dups) 180 int txn, num, dups; 208 if (txn ! 256 int ret, rflag, txn; local [all...] |
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/db/ |
H A D | db_meta.c | 50 #include "dbinc/txn.h" 121 if ((ret = __memp_fget(mpf, &pgno, dbc->thread_info, dbc->txn, 135 if ((ret = __memp_fget(mpf, &pgno, dbc->thread_info, dbc->txn, 166 if ((ret = __db_pg_alloc_log(dbp, dbc->txn, &LSN(meta), 0, 176 if ((ret = __memp_fget(mpf, &pgno, dbc->thread_info, dbc->txn, 233 F_ISSET(dbc->dbp, DB_AM_READ_UNCOMMITTED) && dbc->txn != NULL) { 304 if ((ret = __memp_fget(mpf, &pgno, dbc->thread_info, dbc->txn, 376 &meta, dbc->thread_info, dbc->txn, dbc->priority, 0)) != 0) 382 dbc->thread_info, dbc->txn, DB_MPOOL_DIRTY, &prev)) != 0) 425 if ((ret = __db_pg_freedata_log(dbp, dbc->txn, 964 DB_TXN *txn; local [all...] |
H A D | db.c | 53 #include "dbinc/txn.h" 77 __db_master_open(subdbp, ip, txn, name, flags, mode, dbpp) 80 DB_TXN *txn; 115 txn, name, NULL, DB_BTREE, flags, mode, PGNO_BASE_MD)) != 0) 137 (void)__db_close(dbp, txn, 0); 151 __db_master_update(mdbp, sdbp, ip, txn, subdb, type, action, newname, flags) 153 DB_TXN *txn; 180 if ((ret = __db_cursor(mdbp, ip, txn, &dbc, 235 ip, dbc->txn, DB_MPOOL_DIRTY, &p)) != 0) 242 &((BTMETA *)p)->root, ip, dbc->txn, [all...] |
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/docs_src/ref/am/ |
H A D | join.cs | 10 DB_TXN *txn; 33 name_db-__GT__cursor(name_db, txn, &name_curs, 0)) != 0) 41 if ((ret = job_db-__GT__cursor(job_db, txn, &job_curs, 0)) != 0)
|