dbwrap: add DBWRAP_FLAG_OPTIMIZE_READONLY_ACCESS
authorMichael Adam <obnox@samba.org>
Tue, 28 Jan 2014 10:31:44 +0000 (11:31 +0100)
committerStefan Metzmacher <metze@samba.org>
Fri, 7 Feb 2014 15:06:06 +0000 (16:06 +0100)
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
lib/dbwrap/dbwrap.h

index 4064ba2698fc9605005e190415c31a2f92b2f277..02b44052dd78e6979eb2de2707fc2cfe439f8e04 100644 (file)
@@ -33,6 +33,7 @@ enum dbwrap_lock_order {
 #define DBWRAP_LOCK_ORDER_MAX DBWRAP_LOCK_ORDER_3
 
 #define DBWRAP_FLAG_NONE                     0x0000000000000000ULL
+#define DBWRAP_FLAG_OPTIMIZE_READONLY_ACCESS 0x0000000000000001ULL
 
 /* The following definitions come from lib/dbwrap.c  */