summaryrefslogtreecommitdiff
path: root/source3/tdb/tdb.c
AgeCommit message (Expand)AuthorFilesLines
2001-09-18Fixed a couple of nasty bugs only easily seen with no mmap. Firstly,Jeremy Allison1-2/+4
2001-08-02Added mmap fix to pass lock test from HP.Jeremy Allison1-115/+222
2001-07-31Fix for rare tdb pattern store failure. Found & fixed by Rusty.Jeremy Allison1-1/+4
2001-07-25Always check fstat for error.Jeremy Allison1-10/+13
2001-07-05Fix for enumerating large numbers of users.Jeremy Allison1-1/+1
2001-06-21Ok - I misspoke.... mmap returns MAP_FAILED, not neccessarily -1 :-).Jeremy Allison1-2/+6
2001-06-21When mmap fails it returns -1 *NOT NULL*.Jeremy Allison1-1/+7
2001-06-11Fixed potential free of NULL found by SGI speedshop.Jeremy Allison1-1/+2
2001-05-30- fixed an off-by-1 bug in the delayed deletion code that I believeAndrew Tridgell1-47/+107
2001-05-30added a tdb_open_log() function that opens a tdb and enables loggingAndrew Tridgell1-1/+1
2001-05-29more portable TDB_LOG macroAndrew Tridgell1-1/+1
2001-05-28try to make the tailer code much more robust. When a recordAndrew Tridgell1-13/+99
2001-05-15make sure that when a tdb expands we fill the expanded area, otherwise ENOSPC...Andrew Tridgell1-6/+29
2001-05-14Implemented max connections in a similar way to 2.0.x (scan of connection db).Jeremy Allison1-6/+8
2001-05-06clearer tdb_mmap codeAndrew Tridgell1-24/+19
2001-05-06merge from 2.2Andrew Tridgell1-6/+2
2001-05-04Fix problem with OpenBSD mmap and write not being coherent.Jeremy Allison1-8/+29
2001-04-14Fix for True64 treating readonly as a reserved word !Jeremy Allison1-2/+2
2001-04-13Merge of Andrew's changes in 2.2.Jeremy Allison1-1/+1
2001-01-29Changes from APPLIANCE_HEAD:David O'Neill1-12/+20
2001-01-16Set the tdb->map_ptr to NULL if mmap() returns -1.Tim Potter1-0/+3
2000-12-30The line was:Christopher R. Hertel1-1/+6
2000-12-15Added lock backouts on fail.Jeremy Allison1-3/+28
2000-12-13Two tdb bugfixes. First one - ensure that traverse lock is moved before deletingJeremy Allison1-45/+58
2000-12-11Added Tim's fix for read-only crashes.Jeremy Allison1-0/+2
2000-12-07Fixed bug with tdb_next_lock failing when reaching then end of a hashchainJeremy Allison1-9/+10
2000-12-06Changed to sourceforge tdb code. This includes spinlocks (so we now haveJeremy Allison1-1013/+717
2000-12-05Fixed one tdb_read -> rec_free_read call.Jeremy Allison1-10/+2
2000-12-05Added sorted freelist neighbour merge code to stop tdb fragmentation.Jeremy Allison1-32/+212
2000-12-02Added print_freelist command.Jeremy Allison1-0/+35
2000-12-02change the split threahold for the free list to prevent freelistAndrew Tridgell1-1/+1
2000-11-27fixed a potential locking deadlock in tdbAndrew Tridgell1-1/+1
2000-10-10got rid of tdb_writelock() and instead lock a chain. tdb_writelock()Andrew Tridgell1-25/+0
2000-10-05Herb's fixes for profiling & compiler warnings.Jeremy Allison1-1/+1
2000-10-02Added debug so if zero length messages get sent we successfully removeJeremy Allison1-3/+7
2000-06-15- use read locks when possibleAndrew Tridgell1-42/+44
2000-05-12an imcompatible tdb format change (sorry!)Andrew Tridgell1-11/+2
2000-05-10when creating the database zero the reserved spaceAndrew Tridgell1-0/+8
2000-05-10- add some reserved space to every tdb, this will beAndrew Tridgell1-2/+3
2000-05-10Use a prime for default tdb hash size - this makes a difference !Herb Lewis1-1/+1
2000-05-01fixed typoAndrew Tridgell1-1/+1
2000-05-01added TDB_INTERNAL, TDB_NOLOCK and TDB_NOMMAP flags.Andrew Tridgell1-40/+63
2000-04-30- removed all our old wildcard matching code and replaced it with aAndrew Tridgell1-20/+15
2000-04-29put tdb utility functions in a separate fileAndrew Tridgell1-44/+0
2000-04-28Added tdb_get/set_int_byblob, which takes a size_t len and then implementedJeremy Allison1-7/+19
2000-04-25added TDB_MODIFY flag - patch from from lukeAndrew Tridgell1-4/+25
2000-04-24use an size_t not a ssize_t when checking for out of bounds errorsAndrew Tridgell1-1/+1
2000-04-16added tdb_get_int() and tdb_store_int()Andrew Tridgell1-0/+34
2000-03-01Check for null tdb context in tdb_exists()Tim Potter1-0/+7
2000-02-28Allow tdb databases to be created "in memory" without having a fileTim Potter1-55/+99