diff options
author | Gregor Beck <gbeck@sernet.de> | 2011-11-08 16:06:56 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2012-09-21 18:05:56 +0200 |
commit | bfafb0ce838c0cc3003c35e16c99d9eb9e1266a8 (patch) | |
tree | fd0829928a5c79833e715b5e5754b20d430259b6 /source3/lib/dbwrap | |
parent | 160ca49953570fe55fe089241d1ba6ed1c9c9783 (diff) | |
download | samba-bfafb0ce838c0cc3003c35e16c99d9eb9e1266a8.tar.gz samba-bfafb0ce838c0cc3003c35e16c99d9eb9e1266a8.tar.bz2 samba-bfafb0ce838c0cc3003c35e16c99d9eb9e1266a8.zip |
s3:dbwrap_ctdb: set errno = ENOSYS if clustering is not supported
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Fri Sep 21 18:05:56 CEST 2012 on sn-devel-104
Diffstat (limited to 'source3/lib/dbwrap')
-rw-r--r-- | source3/lib/dbwrap/dbwrap_ctdb.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/lib/dbwrap/dbwrap_ctdb.c b/source3/lib/dbwrap/dbwrap_ctdb.c index 6d46586896..9a03607a40 100644 --- a/source3/lib/dbwrap/dbwrap_ctdb.c +++ b/source3/lib/dbwrap/dbwrap_ctdb.c @@ -1642,6 +1642,7 @@ struct db_context *db_open_ctdb(TALLOC_CTX *mem_ctx, enum dbwrap_lock_order lock_order) { DEBUG(3, ("db_open_ctdb: no cluster support!\n")); + errno = ENOSYS; return NULL; } |