summaryrefslogtreecommitdiff
path: root/lib/tdb
AgeCommit message (Collapse)AuthorFilesLines
2009-03-31tdb: Remove unused variableTim Prouty1-1/+0
2009-03-31up the version to 1.1.4 with the addition ofAndrew Tridgell1-1/+1
tdb_transaction_prepare_commit()
2009-03-31added basic testing of tdb_transaction_prepare_commit() in tdbtortureAndrew Tridgell1-0/+6
2009-03-31Add tdb_transaction_prepare_commit()Howard Chu3-52/+133
Using tdb_transaction_prepare_commit() gives us 2-phase commits. This allows us to safely commit across multiple tdb databases at once, with reasonable transaction semantics Signed-off-by: tridge@samba.org
2009-02-25lib/tdb: if we know pwrite and pread are thread/fork safe tdb_reopen_all() ↵Stefan Metzmacher1-0/+5
should be a noop The reason for tdb_reopen_all() is that the seek pointer on fds are shared between parent and child. metze
2009-02-03lib/tdb: don't generate a static library for the samba4 buildStefan Metzmacher1-1/+1
We also don't do this for talloc and ldb. metze
2009-02-02lib/tdb: the python bindings don't use swig anymoreStefan Metzmacher1-4/+2
metze
2009-01-30s3 build: Remove unused fstat check to fix a bunch of HAVE_FSTAT warningsTim Prouty1-4/+0
2009-01-30lib/tdb: include replace.h and system/filesys.h in pytdb.cStefan Metzmacher1-4/+3
This fixes the build on Tru64. metze
2009-01-08Avoid using a utility header for Python replacements included in Samba,Jelmer Vernooij1-1/+5
since this will not be shipped with talloc/tdb/tevent/etc.
2009-01-07s3/s4 build: Fix Py_RETURN_NONE to work with python versions < 2.4Tim Prouty1-1/+1
2009-01-06py: Properly increase the reference counter of Py_None.Jelmer Vernooij1-16/+16
2008-12-31Fix all warnings in source3 with gcc4.3.Jeremy Allison1-1/+3
Jeremy.
2008-12-23standalone: Use more variables, preparing to include these files from mainJelmer Vernooij1-5/+6
Samba 4 makefile.
2008-12-22Fix standalone build of tdb python module, update ignores for standalone tdb.Jelmer Vernooij1-4/+4
2008-12-18Make sure to not close tdb database more than once.Jelmer Vernooij1-2/+10
2008-12-18Remove swig use from tdb standalone build.Jelmer Vernooij3-14/+5
2008-12-18Implement missing functions in pytdb.Jelmer Vernooij2-34/+66
2008-12-18Add simple manually written replacement for the tdb module.Jelmer Vernooij6-4990/+453
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