summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/tdb2/private.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/tdb2/private.h b/lib/tdb2/private.h
index a18e02b720..3f3860c42b 100644
--- a/lib/tdb2/private.h
+++ b/lib/tdb2/private.h
@@ -89,10 +89,10 @@ typedef int tdb_bool_err;
/* Prevent others from opening the file. */
#define TDB_OPEN_LOCK 0
-/* Doing a transaction. */
-#define TDB_TRANSACTION_LOCK 1
/* Expanding file. */
#define TDB_EXPANSION_LOCK 2
+/* Doing a transaction. */
+#define TDB_TRANSACTION_LOCK 8
/* Hash chain locks. */
#define TDB_HASH_LOCK_START 64