summaryrefslogtreecommitdiffstats
path: root/source3/lib/dbwrap
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2014-01-21 14:25:32 +0100
committerMichael Adam <obnox@samba.org>2014-03-24 17:09:10 +0100
commitb2c992162230ac1975dee0d0229ea6be7d8ae9a3 (patch)
tree070ece8ded812f1eff7d87c4c8e0c5a24c33779d /source3/lib/dbwrap
parent0607b187f3c7f6289c669f7a2aee117171143db5 (diff)
downloadsamba-b2c992162230ac1975dee0d0229ea6be7d8ae9a3.tar.gz
samba-b2c992162230ac1975dee0d0229ea6be7d8ae9a3.tar.xz
samba-b2c992162230ac1975dee0d0229ea6be7d8ae9a3.zip
s3:lib: move all ctdb related dummy functions to ctdb_dummy.c
This gets all dummy functions for the build without CLUSTER_SUPPORT. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3/lib/dbwrap')
-rw-r--r--source3/lib/dbwrap/dbwrap_ctdb.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/source3/lib/dbwrap/dbwrap_ctdb.c b/source3/lib/dbwrap/dbwrap_ctdb.c
index 09a51ceff88..42c9a684261 100644
--- a/source3/lib/dbwrap/dbwrap_ctdb.c
+++ b/source3/lib/dbwrap/dbwrap_ctdb.c
@@ -1710,18 +1710,4 @@ struct db_context *db_open_ctdb(TALLOC_CTX *mem_ctx,
return result;
}
-#else /* CLUSTER_SUPPORT */
-
-struct db_context *db_open_ctdb(TALLOC_CTX *mem_ctx,
- const char *name,
- int hash_size, int tdb_flags,
- int open_flags, mode_t mode,
- enum dbwrap_lock_order lock_order,
- uint64_t dbwrap_flags)
-{
- DEBUG(3, ("db_open_ctdb: no cluster support!\n"));
- errno = ENOSYS;
- return NULL;
-}
-
#endif