diff options
author | Alexander Bokovoy <ab@samba.org> | 2008-01-16 12:09:48 +0300 |
---|---|---|
committer | Alexander Bokovoy <ab@samba.org> | 2008-01-16 12:09:48 +0300 |
commit | 0c8e23afbbb2d081fc23908bafcad04650bfacea (patch) | |
tree | 91b27fcfe72995c9b345fddc0d301f6a97ae00f3 /source/lib/conn_tdb.c | |
parent | 4ff2101c69a0cfcfdc5f775493cb6e88c57e4bbe (diff) | |
download | samba-0c8e23afbbb2d081fc23908bafcad04650bfacea.tar.gz samba-0c8e23afbbb2d081fc23908bafcad04650bfacea.tar.xz samba-0c8e23afbbb2d081fc23908bafcad04650bfacea.zip |
Merge CTDB-related fixes from samba-ctdb 3.0 branch (http://samba.org/~tridge/3_0-ctdb)
Signed-off-by: Alexander Bokovoy <ab@samba.org>
Diffstat (limited to 'source/lib/conn_tdb.c')
-rw-r--r-- | source/lib/conn_tdb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/lib/conn_tdb.c b/source/lib/conn_tdb.c index dd0a354a851..22d85c873d3 100644 --- a/source/lib/conn_tdb.c +++ b/source/lib/conn_tdb.c @@ -34,7 +34,7 @@ static struct db_context *connections_db_ctx(bool rw) } else { db_ctx = db_open(NULL, lock_path("connections.tdb"), 0, - TDB_DEFAULT, O_RDONLY, 0); + TDB_CLEAR_IF_FIRST|TDB_DEFAULT, O_RDONLY, 0); } return db_ctx; |