Rev 128: now that both daemon and client access the database,
it needs to be a real disk file in http://samba.org/~tridge/ctdb
tridge at samba.org
tridge at samba.org
Tue Apr 17 05:32:49 GMT 2007
------------------------------------------------------------
revno: 128
revision-id: tridge at samba.org-20070417053249-780b8b0319475cef
parent: tridge at samba.org-20070417050142-bfa384732fe44e41
committer: Andrew Tridgell <tridge at samba.org>
branch nick: tridge
timestamp: Tue 2007-04-17 15:32:49 +1000
message:
now that both daemon and client access the database, it needs to be a real disk file
modified:
common/ctdb_ltdb.c ctdb_ltdb.c-20061128065342-to93h6eejj5kon81-2
=== modified file 'common/ctdb_ltdb.c'
--- a/common/ctdb_ltdb.c 2007-04-17 01:20:00 +0000
+++ b/common/ctdb_ltdb.c 2007-04-17 05:32:49 +0000
@@ -85,7 +85,7 @@
/* when we have a separate daemon this will need to be a real
file, not a TDB_INTERNAL, so the parent can access it to
for ltdb bypass */
- ctdb_db->ltdb = tdb_wrap_open(ctdb, name, 0, TDB_INTERNAL, open_flags, mode);
+ ctdb_db->ltdb = tdb_wrap_open(ctdb, name, 0, TDB_DEFAULT, open_flags, mode);
if (ctdb_db->ltdb == NULL) {
ctdb_set_error(ctdb, "Failed to open tdb %s\n", name);
talloc_free(ctdb_db);
More information about the samba-cvs
mailing list