ldb_mdb: Remove implicit read lock and remove transaction counter
authorGary Lockyer <gary@catalyst.net.nz>
Thu, 22 Mar 2018 22:29:25 +0000 (11:29 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 23 May 2018 00:27:11 +0000 (02:27 +0200)
commit65f6ce7a6e187ce45098b7fd88fdcda90b242837
treee6ce12d567a7d592ae1537672de5076a0109f6b4
parentd8919d2a59e64ebd8f4bfa7c78abfdf865662186
ldb_mdb: Remove implicit read lock and remove transaction counter

The way to know if we are in a transaction is if there is a non-NULL
transaction handle.

This allows the ldb_mdb_kv_ops_test test to be run.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
lib/ldb/ldb_mdb/ldb_mdb.c
lib/ldb/wscript