summaryrefslogtreecommitdiff
path: root/source4/lib/tdb
AgeCommit message (Collapse)AuthorFilesLines
2007-12-21r25972: tdb: fix usage of SONAMEFLAGStefan Metzmacher1-3/+2
metze (This used to be commit 5aa20bb649136c21ae35f2578954f133bb7af233)
2007-12-21r25953: AIX make doesn't support $^.Jelmer Vernooij1-1/+1
(This used to be commit 91133d27110ee6447dbc64f1c8d52cb90ca1a86c)
2007-12-21r25944: Fix handling of sonameflag on AIX, which doesn't have anything like ↵Jelmer Vernooij1-1/+1
that. (This used to be commit 228dd6830eb9c91287bb3e0233d8b3a404ff3676)
2007-12-21r25893: Fix ldb, tdb builds (and one warning).Jeremy Allison2-2/+2
Jeremy. (This used to be commit 52b26645b04a9c5fb70e7b869b60c9157f821d50)
2007-12-21r25892: Keep the tdb code in sync between 3.2.x and 4.0.Jeremy Allison7-5/+76
Add in the alarm fix to allow locks to exit on alarm signal. Sync up the changes in tools. Jeremy. (This used to be commit cb6c663fa8818f49cc36f196bb5f4dea47edd69e)
2007-12-21r25888: Attempt to fix standalone tdb build.Jelmer Vernooij1-6/+8
(This used to be commit c758db2709e6f3d8e6c3fb65f4efd3dec3518e51)
2007-12-21r25884: Specify shldflags first, as required by some compilers.Jelmer Vernooij1-1/+1
(This used to be commit 40a8cd0d2fd4d10110243ee75ff92bef73bb06b9)
2007-12-21r25883: Fix tdb dependency.Jelmer Vernooij1-5/+9
(This used to be commit af99cd3e00d981e90df4bc61d498704249df1412)
2007-12-21r25881: Add ability to build .so of tdb.Jelmer Vernooij2-7/+28
(This used to be commit 03bc4896e6c83d4d01b366cd5ce9e49547ee206c)
2007-12-21r25614: Add trivial tdb website.Jelmer Vernooij1-0/+44
(This used to be commit 6f88c41c31271fd4b634b6393dc4ca44563a88d2)
2007-10-10r25046: Ditch tdb_traverse() as it doesn't lend itself to any Python idiomsTim Potter1-2/+0
and the semantics can be reproduced using tdb_firstkey() and tdb_nextkey(). Oh, and also because I can't figure out how to get SWIG to do exactly what I want here. (This used to be commit 59b44a9796c8254c59ff110c436d8832af81bedc)
2007-10-10r25045: Add constants for enum TDB_ERROR.Tim Potter1-20/+15
Remove some functions that I don't think should be in at the moment - tdb_open_ex(), tdb_reopen{,_all} and locking functions. Locking functions may come back at a later stage along with transaction support. (This used to be commit 89740efc6795c25f222e45a8aa76dd80f0f2ae4e)
2007-10-10r25044: The has_key() method should return a boolean, not an integer.Tim Potter1-1/+5
Add TODO for missing iterator and other oddball methods. (This used to be commit cd89b6793776b6db75eac09c718bfc9551b7641b)
2007-10-10r25018: Remove non-existent tdb_logging_function() as well as less usefulTim Potter1-8/+0
functions such as tdb_dump_all() and tdb_printfreelist(). (This used to be commit ef695539bf18bc729d1bb400dfcfcb24766fa4d5)
2007-10-10r25001: Fix more C++ and other warnings, fix some of the indentation with ↵Jelmer Vernooij1-1/+1
ts=4 lines that I accidently added earlier. (This used to be commit 0bcb21ed740fcec0f48ad36bbc2deee2948e8fc7)
2007-10-10r24738: Fix one more use of pwrite in tdb code in the spirit of r23972 and ↵Michael Adam1-6/+25
r23977. Michael (This used to be commit 7b2cabea55cebb98e0fcee17066a0871667cd83f)
2007-10-10r24337: Make libreplace provide offsetof.Jelmer Vernooij1-4/+0
(This used to be commit 48d1aa4fcf6a323e3e6a14825f83cd20e3fc3a26)
2007-10-10r24336: Use standard data type uint32_t rather than tdb-specific u32.Jelmer Vernooij8-59/+56
(This used to be commit f90a698387c53508862eb6359bd4d1fba1d2b4b0)
2007-10-10r23980: Fix one more use of pwrite in expand_file.Michael Adam1-1/+10
Michael (This used to be commit b97acdc67b1a55529e69bb7b2b78a317a34b1eba)
2007-10-10r23979: Fix another occurence of (written != requested) as anMichael Adam1-5/+22
error condition to write. This is in tdb_new_database. Fix one call to tdb_new_database in tdb_open_ex to not overwrite the newly propagated errno (typically ENOSPC). Michael (This used to be commit eb524df0a52783de6c94a11b44f268e0f26fbb2c)
2007-10-10r23978: Merge r23161 from Samba3:Michael Adam2-0/+5
Add TDB_VOLATILE as open_flag to activate the per-hashchain dead record optimization. (This used to be commit 868cdb1781fe94afbc1658e72bf06de20193bcd7)
2007-10-10r23977: Im prove the pwrite-patch to tdb_expand_file of r23972:Michael Adam1-7/+20
* prevent infinite loops due to 0 bytes written: try once more. if we still get 0 as return, set errno to ENOSPC and return -1 (error) * replace int by correct types (ssize_t and size_t). * print a warning log message in case "written < requested to write" usually this means, that the next call to pwrite will fail with return value -1 and set errno accordingly. Note that the former error condition "written != requested to write" is not a correct error condition of write/pwrite. If this is due to an error, a subsequent call to (p)write will reveal the cause (typically "no space left on device" - ENOSPC). Michael (This used to be commit 7f415d12239fc67eb2c7894c6359b9507fe122c6)
2007-10-10r23972: Fix a bug in pwrite error detection in tdb_expand_file():Michael Adam1-3/+3
The proper error condition is (ret == -1) instead of (ret != number_of_byte_told_to_write). Michael (This used to be commit 4c3c6363f860ec01d3c789ef8ee2aa3eb77000dc)
2007-10-10r23950: unlink before rename is superfluous.Michael Adam1-1/+0
Michael (This used to be commit dc0104be9acfcd97f95388029a421204723b641a)
2007-10-10r23925: Use NULL instead of 0 for a void * argument.Michael Adam1-1/+1
(This used to be commit bf7774360bbcf557e3cbc4ef0c45f750b4ba89c3)
2007-10-10r23853: Fix a very misleading error message in tdbbackup.Michael Adam1-1/+1
Michael (This used to be commit 1685057927e0ae37ed6be780ee0fb4b3bbefc00f)
2007-10-10r23801: The FSF has moved around a lot. This fixes their Mass Ave address.Andrew Tridgell1-2/+1
(This used to be commit 5c9b19271e0e3ad897499707003ce4703ffa4870)
2007-10-10r23799: updated old Franklin Street FSF addresses to new URLAndrew Tridgell2-6/+2
(This used to be commit db92b76a0034899f5f0dc2d012ee7709ff9a6132)
2007-10-10r23798: updated old Temple Place FSF addresses to new URLAndrew Tridgell13-26/+13
(This used to be commit 40c0919aaa9c1b14bbaebb95ecce53eb0380fdbb)
2007-10-10r23796: main COPYING file for samba4, plus some formatting varientsAndrew Tridgell1-1/+1
(This used to be commit 76c6bfdeb51b5673bbabe0ca3d8bff3b74a327ee)
2007-10-10r23795: more v2->v3 conversionAndrew Tridgell15-15/+15
(This used to be commit 84b468b2f8f2dffda89593f816e8bc6a8b6d42ac)
2007-10-10r23792: convert Samba4 to GPLv3Andrew Tridgell3-9/+6
There are still a few tidyups of old FSF addresses to come (in both s3 and s4). More commits soon. (This used to be commit fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
2007-10-10r23590: Fix realloc leak on failure case from Jim Meyering <jim@meyering.net>.Jeremy Allison1-1/+5
Jeremy. (This used to be commit 59ba128cb61e77a830ddd8b8e1d5d0fd00f99736)
2007-10-10r23371: Fix the misleading comment I added - it really *should*Jeremy Allison1-2/+2
say "locks chain and returned record", not "and returns record" Jeremy. (This used to be commit fa880e6cc16024f14d10cdc8120ce67bfd1d2eb6)
2007-10-10r23370: Traverse in tdb wasn't consistently using theJeremy Allison1-8/+10
travlocks.lock_rw for lock read/write types, it was sometimes using it (tdb_next_lock) and sometimes explicitly using F_WRLCK instead. Change this to consistently use travlocks.lock_rw only. I'm pretty sure about this fix (else I woudn't be checking this in :-) but tridge and Volker please review. Jeremy. (This used to be commit fa548ad75e945ae4d167baffb87140c90cba268c)
2007-10-10r23238: merged transaction lock changes from ctdbAndrew Tridgell4-14/+47
this ensures that having the global lock also implies the transaction lock (This used to be commit 9dbb2633d7781fcc5d15b175ef36bfda5eb199bb)
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)