The Samba-Bugzilla – Attachment 8977 Details for
Bug 9957
Fix auto-enabling CTDB read-only records support
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
A patch to fix auto-enabling CTDB read-only records support
0001-s3-ctdb-Fix-auto-enabling-of-CTDB-readonly-support.patch (text/plain), 1.74 KB, created by
Daniel Gan-Levi (dead mail address)
on 2013-06-18 05:04:26 UTC
(
hide
)
Description:
A patch to fix auto-enabling CTDB read-only records support
Filename:
MIME Type:
Creator:
Daniel Gan-Levi (dead mail address)
Created:
2013-06-18 05:04:26 UTC
Size:
1.74 KB
patch
obsolete
>From f57f50c2f3d559eebd460bc1168039e60cea9668 Mon Sep 17 00:00:00 2001 >From: Daniel Gan-Levi <danielg@il.ibm.com> >Date: Mon, 17 Jun 2013 19:39:09 +0300 >Subject: [PATCH] s3-ctdb: Fix auto-enabling of CTDB readonly support > >--- > source3/wscript | 28 ++++++++++++++++++++++++++++ > 1 file changed, 28 insertions(+) > >diff --git a/source3/wscript b/source3/wscript >index 00432c4..fe706dc 100644 >--- a/source3/wscript >+++ b/source3/wscript >@@ -1561,6 +1561,34 @@ main() { > else: > Logs.warn("ignoring missing SCHEDULE_FOR_DELETION control (--enable-old-ctdb)") > >+ if have_cluster_support: >+ conf.CHECK_CODE(''' >+ #define NO_CONFIG_H >+ #include "replace.h" >+ #include "system/wait.h" >+ #include "system/network.h" >+ #include <talloc.h> >+ #include <tdb.h> >+ #include <ctdb.h> >+ >+ int main(void) >+ { >+ int i = (int)CTDB_WANT_READONLY; >+ return 0; >+ } >+ ''', >+ 'HAVE_CTDB_WANT_READONLY_DECL', >+ addmain=False, >+ includes=includes, >+ msg='Checking for CTDB readonly records support') >+ >+ if not conf.CONFIG_SET('HAVE_CTDB_WANT_READONLY_DECL'): >+ if not Options.options.enable_old_ctdb: >+ have_cluster_support = False >+ ctdb_broken = "support for CTDB readonly records missing" >+ else: >+ Logs.warn("ignoring missing READONLY support (--enable-old-ctdb)") >+ > if have_cluster_support: > conf.CHECK_CODE(''' > #define NO_CONFIG_H >-- >1.7.9.5 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Flags:
vl
:
review+
Actions:
View
Attachments on
bug 9957
:
8977
|
8991