Searched refs:txn (Results 151 - 175 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 Dtest056.tcl47 set txn ""
56 set t [$env txn]
57 error_check_good txn [is_valid_txn $t $env] TRUE
58 set txn "-txn $t"
60 set r [eval {$db put} $txn $flags {$key datum$key}]
63 error_check_good txn [$t commit] 0
70 set t [$env txn]
71 error_check_good txn [is_valid_txn $t $env] TRUE
72 set txn "
[all...]
H A Dtest072.tcl62 set txn ""
80 set t [$env txn]
81 error_check_good txn [is_valid_txn $t $env] TRUE
82 set txn "-txn $t"
84 set ret [eval {$db put} $txn {$prekey $predatum}]
86 set ret [eval {$db put} $txn {$postkey $postdatum}]
89 set precursor [eval {$db cursor} $txn]
92 set postcursor [eval {$db cursor} $txn]
112 set ret [eval {$db put} $txn {
[all...]
H A Dt106script.tcl53 set t [$dbenv txn]
54 set txn "-txn $t"
55 error_check_good db2_put [eval {$db2 put} $txn\
57 error_check_good db3_put [eval {$db3 put} $txn\
59 error_check_good db4_put [eval {$db4 put} $txn\
62 set c [$dbenv txn -parent $t]
63 set ctxn "-txn $c"
131 set t [$dbenv txn]
132 set txn "
[all...]
H A Denv011.tcl16 set e [berkdb_env -create -overwrite -home $testdir -txn]
29 set e [berkdb_env -create -overwrite -home $testdir -txn -recover]
H A Drecd011.tcl35 set flags "-create -txn -home $testdir -log_buffer $bufsize \
46 # Main loop: every second or so, increment the db in a txn.
57 # Put, in a txn.
58 set txn [$dbenv txn]
59 error_check_good txn_begin [is_valid_txn $txn $dbenv] TRUE
61 [$db put -txn $txn $key [chop_data $method $data]] 0
63 [$db put -txn $txn
[all...]
H A Drep036.tcl67 # We always run this test with -txn, so don't adjust txnargs.
75 -errpfx MASTER -errfile /dev/stderr -txn -rep_master \
83 -errfile /dev/stderr -errpfx CLIENT -txn -rep_client \
106 set t [$env1 txn]
107 error_check_good txn [is_valid_txn $t $env1] TRUE
108 set txn "-txn $t"
111 {$mdb put} $txn {$key [chop_data $method $string]}]
131 set t [$env1 txn]
132 error_check_good txn [is_valid_tx
[all...]
H A Drep051.tcl91 # be used with -txn nosync. Adjust the args for master
143 set t [$masterenv txn]
144 error_check_good txn [is_valid_txn $t $masterenv] TRUE
145 set txn "-txn $t"
147 set dbc [eval {$db cursor} $txn]
176 set t [$masterenv txn]
177 error_check_good txn [is_valid_txn $t $masterenv] TRUE
178 set txn "-txn
[all...]
H A Dsdb005.tcl53 set txn ""
65 set t [$env txn]
66 error_check_good txn [is_valid_txn $t $env] TRUE
67 set txn "-txn $t"
76 set dbc [eval {$db cursor} $txn]
104 set d [eval {$db get -recno} $txn {$db_key($n)}]
108 set d [eval {$db get} $txn {$db_key($n)}]
113 error_check_good txn [$t commit] 0
H A Denv013.tcl26 set env [berkdb_env -create -home $testdir -txn]
36 set t [$env txn]
37 error_check_good txn [is_valid_txn $t $env] TRUE
42 db_put [$db put -txn $t $key $data] 0
H A Dtest032.tcl80 set txn ""
86 set t [$env txn]
87 error_check_good txn [is_valid_txn $t $env] TRUE
88 set txn "-txn $t"
90 set dbc [eval {$db cursor} $txn]
102 $txn $pflags {$str [chop_data $method $datastr]}]
106 $txn $pflags {$str [chop_data $method $dups]}]
136 error_check_good txn [$t commit] 0
144 set t [$env txn]
[all...]
H A Dtest091.tcl16 $nconsumers $nproducers $nitems WAIT $start -txn $tnum } $args
H A Dtest120.tcl43 puts "\tTest$tnum.a: Creating txn env."
45 -create -txn -multiversion $encargs -home $testdir]
57 set t1 [$env txn]
58 set txn1 "-txn $t1"
59 set t2 [$env txn -snapshot]
60 set txn2 "-txn $t2"
81 # Start a new txn with -snapshot. It can see the put.
82 puts "\tTest$tnum.e: A new txn can see txn1's put."
83 set t3 [$env txn -snapshot]
84 set txn3 "-txn
[all...]
H A Dtxn003.tcl24 set env_cmd "berkdb_env_noerr -create -txn -home $testdir"
51 set parent [$env txn]
53 set child [$env txn -parent $parent]
55 error_check_good db_put [$db put -txn $child $key $newdata] 0
64 set parent [$env txn]
66 set child [$env txn -parent $parent]
68 error_check_good db_put [$db put -txn $child $key $newdata] 0
132 set parent [$env txn]
134 set child [$env txn -parent $parent]
136 error_check_good db_put [$db put -txn
[all...]
H A Dtest096.tcl11 # TEST Test that truncate-write in an aborted txn doesn't
13 # TEST Test that truncate-write in a committed txn does
59 -lock_max_locks $lockmax -lock_max_objects $lockmax -txn} $encargs]
97 puts "\tTest096.e: Truncate and write in a txn, then abort"
111 puts "\tTest096.g: Truncate and write in a txn, then commit"
173 set t [$env txn]
174 error_check_good txn [is_valid_txn $t $env] TRUE
175 set txn "-txn $t"
176 dup_check $db $txn
[all...]
H A Darchive.tcl46 set eflags "-create -txn -home $testdir \
49 set eflags "-create -txn -home $testdir -log_inmemory \
83 set t1 [$dbenv txn]
90 -env $dbenv -txn $t1 -btree tdb1.db]
94 set t2 [$dbenv txn]
99 -env $dbenv -txn $t2 -btree tdb2.db]
102 set t3 [$dbenv txn]
107 -env $dbenv -txn $t3 -btree tdb3.db]
186 set t1 [$dbenv txn]
191 -env $dbenv -txn
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/java/src/com/sleepycat/db/
H A DEnvironment.java284 @param txn
308 public Database openDatabase(final Transaction txn, argument
316 (txn == null) ? null : txn.txn,
348 @param txn
376 final Transaction txn,
385 dbenv, (txn == null) ? null : txn.txn,
375 openSecondaryDatabase( final Transaction txn, final String fileName, final String databaseName, final Database primaryDatabase, SecondaryConfig config) argument
434 removeDatabase(final Transaction txn, final String fileName, final String databaseName) argument
493 renameDatabase(final Transaction txn, final String fileName, final String databaseName, final String newName) argument
1240 logPrint(Transaction txn, String message) argument
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/build_vxworks/test_micro/
H A Db_recover.c16 DB_TXN *txn; local
85 txn_begin(dbenv, NULL, &txn, DB_TXN_NOSYNC) == 0);
86 DB_BENCH_ASSERT(dbp->put(dbp, txn, &key, &data, 0) == 0);
87 DB_BENCH_ASSERT(txn_commit(txn, 0) == 0);
90 dbenv->txn_begin(dbenv, NULL, &txn, DB_TXN_NOSYNC) == 0);
91 DB_BENCH_ASSERT(dbp->put(dbp, txn, &key, &data, 0) == 0);
92 DB_BENCH_ASSERT(txn->commit(txn, 0) == 0);
H A Db_txn_write.c42 DB_TXN *txn; local
143 DB_BENCH_ASSERT(txn_begin(dbenv, NULL, &txn, 0) == 0);
144 DB_BENCH_ASSERT(dbp->put(dbp, txn, &key, &data, 0) == 0);
145 DB_BENCH_ASSERT(txn_commit(txn, 0) == 0);
147 DB_BENCH_ASSERT(dbenv->txn_begin(dbenv, NULL, &txn, 0) == 0);
148 DB_BENCH_ASSERT(dbp->put(dbp, txn, &key, &data, 0) == 0);
149 DB_BENCH_ASSERT(txn->commit(txn, 0) == 0);
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/test_micro/source/
H A Db_txn_write.c42 DB_TXN *txn; local
142 DB_BENCH_ASSERT(txn_begin(dbenv, NULL, &txn, 0) == 0);
143 DB_BENCH_ASSERT(dbp->put(dbp, txn, &key, &data, 0) == 0);
144 DB_BENCH_ASSERT(txn_commit(txn, 0) == 0);
146 DB_BENCH_ASSERT(dbenv->txn_begin(dbenv, NULL, &txn, 0) == 0);
147 DB_BENCH_ASSERT(dbp->put(dbp, txn, &key, &data, 0) == 0);
148 DB_BENCH_ASSERT(txn->commit(txn, 0) == 0);
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/docs_src/ref/am/
H A Dsecond2.cs11 DB_TXN *txn;
49 if ((ret = dbp-__GT__put(dbp, txn, &key, &data, 0)) != 0)
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/docs_src/ref/upgrade.4.0/
H A DMakefile5 set_lk_max.html toc.html txn.html
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/btree/
H A Dbt_reclaim.c23 __bam_reclaim(dbp, ip, txn)
26 DB_TXN *txn;
33 if ((ret = __db_cursor(dbp, ip, txn, &dbc, 0)) != 0)
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/examples_cxx/txn_guide/
H A DTxnGuide.cpp204 DbTxn *txn; local
225 txn = NULL;
226 envp->txn_begin(NULL, &txn, 0);
239 dbp->put(txn, &key, &value, 0);
248 std::cout << thread_num << " : committing txn : " << i
253 txn->commit(0);
255 txn = NULL;
257 std::cout << "Error on txn commit: "
262 if (txn != NULL)
263 (void)txn
315 countRecords(Db *dbp, DbTxn *txn) argument
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/hash/
H A Dhash_reclaim.c25 * PUBLIC: int __ham_reclaim __P((DB *, DB_THREAD_INFO *, DB_TXN *txn));
28 __ham_reclaim(dbp, ip, txn)
31 DB_TXN *txn;
38 if ((ret = __db_cursor(dbp, ip, txn, &dbc, 0)) != 0)
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/java/src/com/sleepycat/persist/
H A DPrimaryIndex.java326 * @param txn the transaction used to protect this operation, null to use
334 public E put(Transaction txn, E entity) argument
344 txn == null &&
346 txn = env.beginTransaction(null, null);
351 Cursor cursor = db.openCursor(txn, null);
377 txn.abort();
379 txn.commit();
415 * @param txn the transaction used to protect this operation, null to use
420 public void putNoReturn(Transaction txn, E entity) argument
428 db.put(txn, keyEntr
468 putNoOverwrite(Transaction txn, E entity) argument
508 get(Transaction txn, PK key, LockMode lockMode) argument
[all...]

Completed in 263 milliseconds

1234567891011>>