diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2011-04-18 22:15:11 +0930 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2011-04-18 22:15:11 +0930 |
commit | 094ab60053bcc0bc3542af8144e394d83270053e (patch) | |
tree | 4a9a447f5ac9457a755381beef2137ae11073fbc /lib/smbconf | |
parent | 6aa72dae8fc341de5b497f831ded1f8f519fa8fb (diff) | |
download | samba-094ab60053bcc0bc3542af8144e394d83270053e.tar.gz samba-094ab60053bcc0bc3542af8144e394d83270053e.tar.bz2 samba-094ab60053bcc0bc3542af8144e394d83270053e.zip |
tdb: tdb_repack() only when it's worthwhile.
tdb_repack() is expensive and consumes memory, so we can spend some
effort to see if it's worthwhile. In particular, tdbbackup doesn't
need to repack: it started with an empty database!
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'lib/smbconf')
0 files changed, 0 insertions, 0 deletions