summaryrefslogtreecommitdiff
path: root/lib/tdb
AgeCommit message (Collapse)AuthorFilesLines
2008-12-16s3/s4: Fix "shadows a global declaration" warningTim Prouty1-1/+1
2008-12-16Added a simple tdb integrity check to tdbtool. The command "check" runs ↵Holger Hetterich1-1/+28
traverse on the currently open tdb, and returns the number of entries if the integrity check is successful.
2008-12-16imported the tdb_repack() code from CTDBAndrew Tridgell2-1/+93
The tdb_repack() function repacks a TDB so that it has a single freelist entry. The file doesn't shrink, but it does remove all freelist fragmentation. This code originated in the CTDB vacuuming code, but will now be used in ldb to cope with fragmentation from re-indexing
2008-12-16make tdbbackup use transactionsAndrew Tridgell1-6/+19
tdbbackup was originally written before we had transactions, and it attempted to use its own fsync() calls to make it safe. Now that we have transactions we can do it in a much safer (and faster!) fashion
2008-09-29lib/tdb: increase the version number after some critial changesStefan Metzmacher1-1/+1
The tdb_transaction/traverse interaction fixes are critical. metze
2008-09-19Add shared-build target to tdb.Simo Sorce4-0/+30
Useful to build multiple standalone libraries that depend on each other without having to install them to the final install dir during the build.
2008-09-19Provide tdb.open and ldb.open python functions.Jelmer Vernooij3-28/+41
2008-09-17Move common libraries from root to lib/.Jelmer Vernooij38-0/+15529