summaryrefslogtreecommitdiff
path: root/source4/cluster/ctdb
diff options
context:
space:
mode:
Diffstat (limited to 'source4/cluster/ctdb')
-rw-r--r--source4/cluster/ctdb/ctdb_cluster.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/cluster/ctdb/ctdb_cluster.c b/source4/cluster/ctdb/ctdb_cluster.c
index 4892f3e173..ceff53ee5d 100644
--- a/source4/cluster/ctdb/ctdb_cluster.c
+++ b/source4/cluster/ctdb/ctdb_cluster.c
@@ -259,7 +259,7 @@ void cluster_ctdb_init(struct event_context *ev)
/* attach all the databases we will need */
for (i=0;i<ARRAY_SIZE(db_list);i++) {
struct ctdb_db_context *ctdb_db;
- ctdb_db = ctdb_attach(state->ctdb, db_list[i], TDB_DEFAULT,
+ ctdb_db = ctdb_attach(state->ctdb, db_list[i], TDB_INTERNAL,
O_RDWR|O_CREAT|O_TRUNC, 0666);
if (ctdb_db == NULL) goto failed;
}