1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

r22084: use a TDB_INTERNAL tdb for the local ctdb tdb for now

This commit is contained in:
Andrew Tridgell 2007-04-05 04:20:55 +00:00 committed by Gerald (Jerry) Carter
parent 141bd7ac39
commit e2fe45cf40

View File

@ -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;
}