summaryrefslogtreecommitdiff
path: root/source4/lib/tdb
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r22165: merge transaction fix from samba3Andrew Tridgell1-0/+2
(This used to be commit ff78be0be4ef67ed25bfb837bd8a7bf4105367fb)
2007-10-10r22081: transaction_brlock() should be staticAndrew Tridgell1-2/+2
thanks to Ted T'so for pointing this out (This used to be commit 6921f2f7093bbb6c236f16947072026303e58439)
2007-10-10r22053: remove samba3 specific stuff from tdbtoolStefan Metzmacher1-77/+0
should I merge this to SAMBA_3_0? as it's also totally broken there, as the connection_struct definition is completely different metze (This used to be commit 5677b01d1dc63276a36daac400d5b0d935034ce6)
2007-10-10r22052: merge tdbtool from samba3 and build itStefan Metzmacher2-252/+395
metze (This used to be commit f471e752161e392ef7324df30517af1818a27d1d)
2007-10-10r22041: merge trivial changes from samba3Stefan Metzmacher6-16/+20
metze (This used to be commit 902a76ca705f07c61f86a9ef1346583ba9d3157d)
2007-10-10r21722: Add the dead record functionality presented on ↵Volker Lendecke4-6/+187
samba-technical@samba.org. If you do a tdb_set_max_dead(tdb, n), then for this tdb a delete operation will only mark a record as dead and re-use it if a new record is created. The parameter n allows for at most n dead records per hash chain. If this number is exceeded, all dead records are put on the central freelist. Volker (This used to be commit 98a27ab28a3cd554e370a9a0e3652f4dea8749e9)
2007-10-10r21445: Apply tdb_parse_record Tridges error return, merge to 3_0_25 and 4_0Volker Lendecke4-13/+94
(This used to be commit afe7d7855841066b88859976ac748cbf438a9a9f)
2007-10-10r21412: The last patch also incremented the seqnum when tdb_store failed. ↵Volker Lendecke1-8/+10
Not as bad as not doing it at all, but needs fixing. Also simplify the logic, I had missed the "goto out" at the end of the function. Volker (This used to be commit ed30a0ff602d0a1d4409bee4faf12b6979b5f4b8)
2007-10-10r21410: We have to increment the sequence number also when tdb_update_hash()Volker Lendecke1-1/+1
succeeded. Found while testing the brlock seqnum patch. Tridge, please check! Volker (This used to be commit e518c68fc5446304611d096ac2e3cab744734fc3)
2007-10-10r21303: As discussed on samba-technical: Change the static array for the ↵Volker Lendecke4-36/+96
in-memory mirrors of the hash chain locks to a dynamically allocated one. Jeremy, I count on you to revert it if the build farm freaks out, it's after midnight here :-) Volker (This used to be commit 7b5db2e472c7e27231fa432d3930789e708abd09)
2007-10-10r19989: Add support to the tdb Makefile.in for executable extensions and forPaul Green1-15/+23
separately specifying CPPFLAGS and LDFLAGS. (This used to be commit 41c775efde85cb1115c40488dd3ab49cd77e356d)
2007-10-10r19960: Add code to check for loops in the free list.Jeremy Allison5-4/+119
Should help us validate tdb's against corruption. Jeremy. (This used to be commit bd0710fa09799cb496b1f9f365c57c3b542445f3)
2007-10-10r19570: Fix dependencies in pkg-config files.Jelmer Vernooij1-2/+2
(This used to be commit 1b046698521f77b843f4a2fcf91230ee2917b569)
2007-10-10r19428: moved tdbutil.c from lib/tdb/common/ to lib/util/util_tdb.cAndrew Tridgell3-601/+1
tdbutil.c is Samba specific, so should not be part of the generic tdb library (This used to be commit 979dd24f5e44605fc1603b690913b8c31be7478f)
2007-10-10r19425: two more tdb functions from samba3Andrew Tridgell2-0/+13
(This used to be commit c9d9d79c34e8a36a6f684b173b1cc861330adc5c)
2007-10-10r19423: merge some tdb changes from SAMBA_3_0 to SAMBA_4_0Andrew Tridgell5-12/+23
this is in preparation of a merge in the other direction (This used to be commit db3211079fd594aa03c3b9bb3eb6ad86bdd32837)
2007-10-10r19401: make tdb_lockall() much more efficient, and add a tdb_lockall_read()Andrew Tridgell7-69/+142
call which does a read lock on all chains. These will be used to make ldb searches more efficient (This used to be commit de664ec1f8cf179f1d650563272c0de3f7636e2b)
2007-10-10r19276: remove unused fileStefan Metzmacher1-58/+0
metze (This used to be commit bd4cd24a9dc370552a90f267bdcabf4cb45c8507)
2007-10-10r18604: fixed shell syntaxAndrew Tridgell1-1/+1
(This used to be commit 61104953c82442b9ef0817c077f4b91741fa3aa8)
2007-10-10r18600: - fix shell syntax in tests for librariesAndrew Tridgell1-1/+1
- add library test for libpopt (This used to be commit 13878b7e7ec65b21df954f83afc0e9ceb73e44a0)
2007-10-10r18594: fail the configure step if the required library is not found for tdb,Andrew Tridgell1-1/+5
talloc or libreplace (This used to be commit 9f45f970f71ee5585bf3c924b9c77188405fa246)
2007-10-10r18539: 'make distclean' should delete config.cacheAndrew Tridgell1-1/+1
(This used to be commit 5a8becb1be1b41b4fecf9f9f47a60eed5f77c264)
2007-10-10r18535: move the AC_CANONICAL_HOST and host specific flag tests intoAndrew Tridgell2-0/+3045
libreplace. This should fix the standalone build of tdb on HPUX, where we need to blacklist mmap. Unfortunately this requires that we have a copy of config.guess and config.sub in each of our project subdirectories. I tried to find a way to use something like AC_CONFIG_AUX_DIR($libreplacedir) and just put config.{guess,sub} in the lib/replace/ directory, but I couldn't figure out how to do that in a way that kept autoconf happy for each of our separate builds. Any autoconf guru out there see a way to do this? (This used to be commit 823cd3ab35456769dcefee17bdaca21f01ba0f63)
2007-10-10r18485: include libreplace.m4 in the aclocal.m4 filesStefan Metzmacher2-2/+2
and use the macros in configure.ac metze (This used to be commit 95d33e4d71b4c97af8413bcd136f393aa3e380dd)
2007-10-10r18400: move MAP_FAILED define to lib/replace/system/shmem.hAndrew Tridgell1-4/+0
(This used to be commit 025b142ff268498cfb36fc0e7e9e25a2c5963d38)
2007-10-10r18301: I discovered how to load the warnings from a build farm build intoAndrew Tridgell2-2/+2
emacs compile mode (hint, paste to a file, and compile as "cat filename"). This allowed me to fix nearly all the warnings for a IA_64 SuSE build very quickly. (This used to be commit eba6c84efff735bb0ca941ac4b755ce2b0591667)
2007-10-10r18285: tdb now needs install-shAndrew Tridgell1-0/+238
(This used to be commit 007da6115a4af137cfb774c35767a9073130e4bf)
2007-10-10r18280: more portability tidyups, ensuring we use libreplace everywhereAndrew Tridgell1-6/+0
(This used to be commit 4860d0256547b33709cdc109bdf7bb0310c2a5b6)
2007-10-10r18213: don't list LIBREPLACE depdendecies explicit andStefan Metzmacher1-2/+0
always at it as first private dependencies metze (This used to be commit 135d096776b53ae09ffc2b4f767dfbd18139570f)
2007-10-10r18160: - pread and pwrite replacements need to be non-staticAndrew Tridgell1-22/+0
- replacing rename() is pointless - all platforms have it (and the #define of rename breaks some code) - use system/locale.h in snprintf.c - fix passwd.h for initgroups - stdlib is in replace.h, not needed elsewhere - fix the initgroups replacement - fix mapping of dl functions to rep_* (This used to be commit 57cd0ca176387d6a3acabf9fedeef4f2a3a3dad7)
2007-10-10r18152: move our AC macros into lib/replace/libreplace_macros.m4Stefan Metzmacher1-12/+1
and include them from there metze (This used to be commit 38f9e90a120b4e62f005a1bac89139ee87f63071)
2007-10-10r18149: fix make *cleanStefan Metzmacher1-4/+5
metze (This used to be commit 477c83c9834fa4dde0b69f6413336144ea5d5bdb)
2007-10-10r18148: - use PHONY for testStefan Metzmacher1-4/+14
- don't try to install with make test - add make distclean and realdistclean metze (This used to be commit 67cb692a48726075f70b55e18e71d8fae6303d34)
2007-10-10r18143: the 'showflags' convention from Samba is useful for the other packagesAndrew Tridgell1-1/+6
(This used to be commit a4d1f1d2229e1a0b1523bf14fab59278207abbc0)
2007-10-10r18131: fixed tdb subsystem to use right tdb.hAndrew Tridgell1-0/+1
fixed LIBREPLACE dep in lib/charset (This used to be commit 2f6cd41f40cf1625918f272458b6e103e4f3e00e)
2007-10-10r18129: moved the system includes into libreplace - this gives much moreAndrew Tridgell8-124/+17
isolation of our portability environment from the main code, and also simplifies the includes system (no separate #ifdef _SAMBA_BUILD for tdb. ldb etc now) (This used to be commit 77d1a468e06290aba789e2f3affc769fc5159a21)
2007-10-10r18108: move tdb to use the same build methodsAndrew Tridgell3-4/+16
(This used to be commit 05521650c622c933a742b833dc38b7e9b32836be)
2007-10-10r18098: use m4_include() instead of sinclude()Stefan Metzmacher1-1/+1
this breaks ./autogen.sh in lib/ldb/, but the ldb build is broken anyway metze (This used to be commit 816fa197a73f5f309b6a113d997d21a70423361e)
2007-10-10r18090: sometimes autoconf picks up some old stuff:Stefan Metzmacher1-0/+5
- remove configure and config.h.in - cleanup after autoconf and autoheader are done metze (This used to be commit 57531074439140da75e2d279b052224e6809a79d)
2007-10-10r18031: Merge my replace fixes:Jelmer Vernooij2-10/+13
* libreplace can now build stand-alone * add stub testsuite for libreplace * make talloc/tdb/ldb use libreplace (This used to be commit fe7ca4b1454e01a33ed0d53791ebffdd349298b4)
2007-10-10r17960: try to use gmake if present on IRIXStefan Metzmacher1-0/+1
metze (This used to be commit 18b4ae591a3a137dd25edd16a574e489cd5552bf)
2007-10-10r17930: Merge noinclude branch:Jelmer Vernooij1-1/+1
* Move dlinklist.h, smb.h to subsystem-specific directories * Clean up ads.h and move what is left of it to dsdb/ (only place where it's used) (This used to be commit f7afa1cb77f3cfa7020b57de12e6003db7cfcc42)
2007-10-10r17781: fix compiler warningStefan Metzmacher1-3/+1
metze (This used to be commit bbe641f23676961972ac337304ece1116b0219b6)
2007-10-10r17737: fixed a 'declaration in code' errorAndrew Tridgell1-1/+2
(This used to be commit aca417c6b164b54334cc46e126dd362ddab509d3)
2007-10-10r17686: tdb.pc is in the build directoryAndrew Tridgell1-1/+1
(This used to be commit 01b76c7aa118f853593d006803796e50e8821533)
2007-10-10r17684: and we need -Iinclude for tdbAndrew Tridgell1-1/+1
(This used to be commit 3a22b28f2b6d960e00acf1038d8cd3b820cf0be7)
2007-10-10r17680: make standalone tdb support building and testing in a differentAndrew Tridgell2-5/+16
directory to source (This used to be commit a81a3874e1a40131cbba22d14d7b68fd0f5b54c5)
2007-10-10r17532: merge from SAMBA_3_0 Revision: 17460Stefan Metzmacher1-0/+1
First step at fixing the build breakage with the groupmapping test. On Linux, F_RDLCK is defined to 0, for example NetBSD has it at 1. Still does not work fully though. Still investigating. metze (This used to be commit af08e56442367b5d803f61b8554d85e2fe0ce7e9)
2007-10-10r17507: pread and pwrite depends on HAVE_PREAD/HAVE_PWRITE not ↵Simo Sorce1-7/+0
HAVE_PREAD_DECL/HAVE_PWRITE_DECL and common/io.h already defines pread and pwrite as static if they are not. remove unneded defines (This used to be commit 941f680453a081d51f6499f9b5dc06c7e6640334)
2007-10-10r17114: print some sizes for debuggingStefan Metzmacher1-0/+3
metze (This used to be commit fa04ef88e5875c58fdfc7cbd2b24587bb740970d)