Rev 621: this is a temporary db. We should mark it clear-if-first in http://samba.org/~tridge/3_0-ctdb

tridge at samba.org tridge at samba.org
Wed Sep 19 03:09:42 GMT 2007


------------------------------------------------------------
revno: 621
revision-id: tridge at samba.org-20070919030940-xko96r4ka7zgz6ot
parent: tridge at samba.org-20070919030517-284x9n0dbtjx9fxh
committer: Andrew Tridgell <tridge at samba.org>
branch nick: s3-ctdb-tridge
timestamp: Wed 2007-09-19 13:09:40 +1000
message:
  this is a temporary db. We should mark it clear-if-first
modified:
  source/utils/status.c          status.c-20070210173807-1wjifrbwaz6xnmgl-1163
=== modified file 'source/utils/status.c'
--- a/source/utils/status.c	2007-06-17 21:00:00 +0000
+++ b/source/utils/status.c	2007-09-19 03:09:40 +0000
@@ -346,7 +346,7 @@
 	if ( show_processes ) {
 		struct db_context *db;
 		db = db_open(NULL, lock_path("sessionid.tdb"), 0,
-			     TDB_DEFAULT, O_RDWR, 0644);
+			     TDB_CLEAR_IF_FIRST, O_RDWR, 0644);
 		if (!db) {
 			d_printf("sessionid.tdb not initialised\n");
 		} else {



More information about the samba-cvs mailing list