Rev 588: print database name if we fail to attach in
http://samba.org/~tridge/3_0-ctdb
tridge at samba.org
tridge at samba.org
Sun Jun 3 03:51:42 GMT 2007
------------------------------------------------------------
revno: 588
revision-id: tridge at samba.org-20070603035139-nxiuzaqevcus88tm
parent: tridge at samba.org-20070603035112-tghjut0tb366gqg0
committer: Andrew Tridgell <tridge at samba.org>
branch nick: s3-ctdb-tridge
timestamp: Sun 2007-06-03 13:51:39 +1000
message:
print database name if we fail to attach
modified:
source/lib/dbwrap.c dbwrap.c-20070413105316-iw5xqs7joqzburfk-2
=== modified file 'source/lib/dbwrap.c'
--- a/source/lib/dbwrap.c 2007-05-30 04:15:00 +0000
+++ b/source/lib/dbwrap.c 2007-06-03 03:51:39 +0000
@@ -68,6 +68,7 @@
result = db_open_ctdb(mem_ctx, partname, hash_size,
tdb_flags, open_flags, mode);
if (result == NULL) {
+ DEBUG(0,("failed to attach to ctdb %s\n", partname));
smb_panic("failed to attach to a ctdb database");
}
}
More information about the samba-cvs
mailing list