diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2012-06-18 22:30:04 +0930 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2012-06-19 05:38:05 +0200 |
commit | 6244f668a34279e6da62213333dfb32c3ccdb17d (patch) | |
tree | 0dd495f4d03e57e8a5710d2edea84c137d4b4aee /source3/lib/gencache.c | |
parent | 5bad913938daca4ae3020653690701db83826954 (diff) | |
download | samba-6244f668a34279e6da62213333dfb32c3ccdb17d.tar.gz samba-6244f668a34279e6da62213333dfb32c3ccdb17d.tar.xz samba-6244f668a34279e6da62213333dfb32c3ccdb17d.zip |
TDB2: make SAMBA use tdb1 again for the moment.
Otherwise the following surgery will break the SAMBA build and testsuite.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'source3/lib/gencache.c')
-rw-r--r-- | source3/lib/gencache.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/source3/lib/gencache.c b/source3/lib/gencache.c index 31ead7be7e..95b4811acd 100644 --- a/source3/lib/gencache.c +++ b/source3/lib/gencache.c @@ -462,12 +462,7 @@ bool gencache_stabilize(void) res = tdb_transaction_start_nonblock(cache); if (res != 0) { - -#if BUILD_TDB2 - if (res == TDB_ERR_LOCK) -#else if (tdb_error(cache) == TDB_ERR_NOLOCK) -#endif { /* * Someone else already does the stabilize, |