summaryrefslogtreecommitdiff
path: root/lib/dbwrap/dbwrap.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/dbwrap/dbwrap.h')
-rw-r--r--lib/dbwrap/dbwrap.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/dbwrap/dbwrap.h b/lib/dbwrap/dbwrap.h
index 5244ff216c..3b0d61c92c 100644
--- a/lib/dbwrap/dbwrap.h
+++ b/lib/dbwrap/dbwrap.h
@@ -30,6 +30,7 @@ enum dbwrap_lock_order {
DBWRAP_LOCK_ORDER_2 = 2,
DBWRAP_LOCK_ORDER_3 = 3
};
+#define DBWRAP_LOCK_ORDER_MAX DBWRAP_LOCK_ORDER_3
/* The following definitions come from lib/dbwrap.c */