summaryrefslogtreecommitdiff
path: root/lib/tdb
Commit message (Collapse)AuthorAgeFilesLines
* tdb: Revert "lib/tdb: if we know pwrite and pread are thread/fork safe ↵Rusty Russell2009-08-141-5/+0
| | | | | | | | | | | | tdb_reopen_all() should be a noop" This reverts commit e17df483fbedb81aededdef5fbb6ae1d034bc2dd. tdb_reopen_all also restores the active lock, required for TDB_CLEAR_IF_FIRST. Signed-off-by: Stefan Metzmacher <metze@samba.org> (cherry picked from commit fa91bc67199f0d45a0e570b43aeafd816a5491bf) (cherry picked from commit f1cf84c9b9abc48a58355400acb63fd79e1d60c4)
* Detect tight loop in tdb_find()Jim McDonough2009-05-261-0/+5
| | | | (cherry picked from commit dbd5dd808f14b1df0ed3dabd0553baddad2d186b)
* lib/tdb: if we know pwrite and pread are thread/fork safe tdb_reopen_all() ↵Stefan Metzmacher2009-02-251-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
* lib/tdb: don't generate a static library for the samba4 buildStefan Metzmacher2009-02-031-1/+1
| | | | | | We also don't do this for talloc and ldb. metze
* lib/tdb: the python bindings don't use swig anymoreStefan Metzmacher2009-02-021-4/+2
| | | | metze
* s3 build: Remove unused fstat check to fix a bunch of HAVE_FSTAT warningsTim Prouty2009-01-301-4/+0
|
* lib/tdb: include replace.h and system/filesys.h in pytdb.cStefan Metzmacher2009-01-301-4/+3
| | | | | | This fixes the build on Tru64. metze
* Avoid using a utility header for Python replacements included in Samba,Jelmer Vernooij2009-01-081-1/+5
| | | | since this will not be shipped with talloc/tdb/tevent/etc.
* s3/s4 build: Fix Py_RETURN_NONE to work with python versions < 2.4Tim Prouty2009-01-071-1/+1
|
* py: Properly increase the reference counter of Py_None.Jelmer Vernooij2009-01-061-16/+16
|
* Fix all warnings in source3 with gcc4.3.Jeremy Allison2008-12-311-1/+3
| | | | Jeremy.
* standalone: Use more variables, preparing to include these files from mainJelmer Vernooij2008-12-231-5/+6
| | | | Samba 4 makefile.
* Fix standalone build of tdb python module, update ignores for standalone tdb.Jelmer Vernooij2008-12-221-4/+4
|
* Make sure to not close tdb database more than once.Jelmer Vernooij2008-12-181-2/+10
|
* Remove swig use from tdb standalone build.Jelmer Vernooij2008-12-183-14/+5
|
* Implement missing functions in pytdb.Jelmer Vernooij2008-12-182-34/+66
|
* Add simple manually written replacement for the tdb module.Jelmer Vernooij2008-12-186-4990/+453
|
* s3/s4: Fix "shadows a global declaration" warningTim Prouty2008-12-161-1/+1
|
* Added a simple tdb integrity check to tdbtool. The command "check" runs ↵Holger Hetterich2008-12-161-1/+28
| | | | traverse on the currently open tdb, and returns the number of entries if the integrity check is successful.
* imported the tdb_repack() code from CTDBAndrew Tridgell2008-12-162-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
* make tdbbackup use transactionsAndrew Tridgell2008-12-161-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
* lib/tdb: increase the version number after some critial changesStefan Metzmacher2008-09-291-1/+1
| | | | | | The tdb_transaction/traverse interaction fixes are critical. metze
* Add shared-build target to tdb.Simo Sorce2008-09-194-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.
* Provide tdb.open and ldb.open python functions.Jelmer Vernooij2008-09-193-28/+41
|
* Move common libraries from root to lib/.Jelmer Vernooij2008-09-1738-0/+15529