summaryrefslogtreecommitdiff
path: root/source4/lib/tdb
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r22832: merged the latest tdb changes from ctdb to Samba4Andrew Tridgell3-15/+107
(This used to be commit a88ab4fa3a07c31bc45c612043f9e096f384eda4)
2007-10-10r22637: Install tdbbackup and tdbdump again.Jelmer Vernooij2-3/+3
(This used to be commit 8197cb975ec8ed92f10782cef20ff4373d6d6965)
2007-10-10r22600: Update bzr ignores, put right version in .pc files, prepare for ↵Jelmer Vernooij3-5/+8
support of system versions of tdb, talloc. (This used to be commit 9b991ce9ca28b3d88c778305ec5f681506162637)
2007-10-10r22598: Simplify includes for replace.Jelmer Vernooij1-1/+1
(This used to be commit e72cec408e832e0f6ce05c38febdd56de501dbf7)
2007-10-10r22596: Set _CFLAGS variables rather than putting knowledge in the ldb Makefile.Jelmer Vernooij1-0/+3
This should make it easier to allow use of system tdb or talloc libs using pkg-config. (This used to be commit a3ec90a2635d47e5c073e873c15daab4a8ef5400)
2007-10-10r22595: Add version numbers.Jelmer Vernooij1-1/+1
(This used to be commit 54cc097e0f8ca880c6c370e712ce427cefb16f08)
2007-10-10r22516: Use DESTDIRJelmer Vernooij1-7/+7
(This used to be commit d0f8d46813ea0b633cb40c9a77b90f34307cb2ab)
2007-10-10r22514: Add version numbers to tdb and talloc (required so they can be ↵Jelmer Vernooij1-1/+1
packaged independent of Samba for Debian). (This used to be commit 846cfcf44df07457d228c9a5afab743e071ab7aa)
2007-10-10r22424: fixed the bad merge (thanks to metze for pointing out)Andrew Tridgell2-3/+3
(This used to be commit bffb8f88006fd2530cad270df642d9a23a01b34b)
2007-10-10r22422: merged tdb changes from ctdbAndrew Tridgell5-8/+34
(This used to be commit a0ff739bcab32065d9d3957eb1d93f7791f84f04)
2007-10-10r22319: sync lib/tdb/ with samba3Stefan Metzmacher7-26/+243
metze (This used to be commit 8f24f6b38e967075589529a08c68a1a56f9f0499)
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)