1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/lib/tdb/test
Andrew Bartlett 32702a9745 tdb: Add new function tdb_transaction_active()
This will allow callers to avoid their own reference counting of transactions.

Additionally, this will always line up with the acutal transaction state, even
in the error cases where tdb can cancel the transaction

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2017-07-02 17:35:19 +02:00
..
external-agent.c lib:tdb: Remove use of strcpy in tdb test. 2016-03-22 04:38:24 +01:00
external-agent.h tdb/test: add UNMAP command to external-agent.c 2014-05-22 21:05:15 +02:00
jenkins-be-hash.tdb
jenkins-le-hash.tdb
lock-tracking.c
lock-tracking.h
logging.c
logging.h
old-nohash-be.tdb
old-nohash-le.tdb
run-3G-file.c tdb: add TDB_MUTEX_LOCKING support 2014-05-22 21:05:15 +02:00
run-allrecord-traverse-deadlock.c tdb: Reproducer for Bug 11381 2015-07-09 00:42:16 +02:00
run-bad-tdb-header.c tdb: add TDB_MUTEX_LOCKING support 2014-05-22 21:05:15 +02:00
run-check.c tdb: add TDB_MUTEX_LOCKING support 2014-05-22 21:05:15 +02:00
run-corrupt.c tdb: add TDB_MUTEX_LOCKING support 2014-05-22 21:05:15 +02:00
run-die-during-transaction.c tdb: add TDB_MUTEX_LOCKING support 2014-05-22 21:05:15 +02:00
run-endian.c tdb: add TDB_MUTEX_LOCKING support 2014-05-22 21:05:15 +02:00
run-fcntl-deadlock.c tdb: add run-fcntl-deadlock test 2017-06-15 01:24:25 +02:00
run-incompatible.c tdb: Fix CID 1034841 Resource leak 2015-03-10 21:48:04 +01:00
run-marklock-deadlock.c tdb/test: add marklock deadlock test 2014-05-22 21:05:15 +02:00
run-mutex1.c tdb/test: add mutex related tests 2014-05-22 21:05:15 +02:00
run-mutex-allrecord-bench.c tdb/test: add mutex related tests 2014-05-22 21:05:15 +02:00
run-mutex-allrecord-block.c tdb/test: add mutex related tests 2014-05-22 21:05:15 +02:00
run-mutex-allrecord-trylock.c tdb/test: add mutex related tests 2014-05-22 21:05:15 +02:00
run-mutex-die.c tdb/test: add mutex related tests 2014-05-22 21:05:15 +02:00
run-mutex-openflags2.c tdb/test: TDB_CLEAR_IF_FIRST | TDB_MUTEX_LOCKING, O_RDONLY is a valid combination 2014-12-02 09:31:08 +01:00
run-mutex-transaction1.c tdb/test: add tdb1-run-mutex-transaction1 test 2014-12-19 09:20:06 +01:00
run-mutex-trylock.c tdb/test: add mutex related tests 2014-05-22 21:05:15 +02:00
run-nested-transactions.c tdb: add TDB_MUTEX_LOCKING support 2014-05-22 21:05:15 +02:00
run-nested-traverse.c tdb: Remove locking from tdb_traverse_read() 2017-07-02 17:35:18 +02:00
run-no-lock-during-traverse.c tdb: add TDB_MUTEX_LOCKING support 2014-05-22 21:05:15 +02:00
run-oldhash.c tdb: add TDB_MUTEX_LOCKING support 2014-05-22 21:05:15 +02:00
run-open-during-transaction.c tdb: Fix CID 1034842 Resource leak 2015-03-11 00:23:20 +01:00
run-rdlock-upgrade.c tdb: Test for readonly lock upgrade bug 2017-04-11 00:33:30 +02:00
run-readonly-check.c tdb: add TDB_MUTEX_LOCKING support 2014-05-22 21:05:15 +02:00
run-rescue-find_entry.c tdb: add TDB_MUTEX_LOCKING support 2014-05-22 21:05:15 +02:00
run-rescue.c tdb: add TDB_MUTEX_LOCKING support 2014-05-22 21:05:15 +02:00
run-rwlock-check.c tdb: add TDB_MUTEX_LOCKING support 2014-05-22 21:05:15 +02:00
run-summary.c tdb: add TDB_MUTEX_LOCKING support 2014-05-22 21:05:15 +02:00
run-transaction-expand.c tdb: add TDB_MUTEX_LOCKING support 2014-05-22 21:05:15 +02:00
run-traverse-in-transaction.c tdb: Add new function tdb_transaction_active() 2017-07-02 17:35:19 +02:00
run-wronghash-fail.c tdb: add TDB_MUTEX_LOCKING support 2014-05-22 21:05:15 +02:00
run-zero-append.c tdb: add TDB_MUTEX_LOCKING support 2014-05-22 21:05:15 +02:00
run.c tdb: add TDB_MUTEX_LOCKING support 2014-05-22 21:05:15 +02:00
rwlock-be.tdb
rwlock-le.tdb
tap-interface.h tdb/test: add a "skip()" macro. 2014-05-22 21:05:14 +02:00
tap-to-subunit.h
tdb.corrupt