summaryrefslogtreecommitdiff
path: root/source3/tdb/tdb.c
AgeCommit message (Expand)AuthorFilesLines
2001-12-04Put back changes to set errno, which seem to do no harm.Martin Pool1-12/+42
2001-12-04undoMartin Pool1-156/+69
2001-12-04Implement suggestion from tridge to leave the old tdb_open interfaceMartin Pool1-2/+9
2001-12-04Better error handling:Martin Pool1-66/+124
2001-12-04Set errno in tdb_open in cases where we detect an error in opening theMartin Pool1-11/+33
2001-11-09Removed #ifdef TDB_DEBUG around tdb_dump_all() and tdb_printfreelist()Tim Potter1-5/+3
2001-10-16Don't core dump when using spinlocks on a read-only tdb. Unfortunately thisJeremy Allison1-4/+16
2001-10-12Fix for tdb_oob() on TDB_INTERNAL databases.Jeremy Allison1-2/+7
2001-10-03Ensure accessing NT member servers works with a Samba PDC. Don'tJeremy Allison1-1/+2
2001-09-19Put pwrite code back in expand_file.Jeremy Allison1-3/+10
2001-09-19added a hook to reopen all tdb's after the server forkAndrew Tridgell1-10/+48
2001-09-19Fix based on Andrew's insight as re-using a tdb after fork meansJeremy Allison1-3/+23
2001-09-19Return correct error code on lock fail in tdb_expand.Jeremy Allison1-1/+1
2001-09-18Roll back earlier fix after talking with Andrew. The write_lock_record andJeremy Allison1-2/+2
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