dbwrap_ctdb: implement DBWRAP_FLAG_OPTIMIZE_READONLY_ACCESS
authorStefan Metzmacher <metze@samba.org>
Tue, 28 Jan 2014 20:24:22 +0000 (21:24 +0100)
committerStefan Metzmacher <metze@samba.org>
Fri, 7 Feb 2014 15:06:06 +0000 (16:06 +0100)
commita97b588b63f437d25c4344c76014326dbf0cbdb0
treee7ea0728caac265e15a8c0401d9feaca96093654
parent56bd4040889dfe492ff820497b7a6d76624a6048
dbwrap_ctdb: implement DBWRAP_FLAG_OPTIMIZE_READONLY_ACCESS

For non-persistent databases we try to use CTDB_CONTROL_SET_DB_READONLY
in order to make use of readonly records.

Pair-Programmed-With: Michael Adam <obnox@samba.org>

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Michael Adam <obnox@samba.org>
source3/lib/dbwrap/dbwrap_ctdb.c