summaryrefslogtreecommitdiff
path: root/source3/tdb/tdb.c
AgeCommit message (Expand)AuthorFilesLines
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
2000-02-16More checks for passing NULL tdb contexts to tdb functions.Tim Potter1-0/+77
2000-02-15Return "Invalid tdb context" instead of crashing when tdb_error calledTim Potter1-2/+6
2000-02-041) added void* state argument to tdb_traverse. guess what! there wereLuke Leighton1-3/+3
2000-01-24tdb record read error return check fix from Dave Airlie <airlied@samba.org>.Jeremy Allison1-1/+1
2000-01-14casts and defines to make solaris happyAndrew Tridgell1-0/+4
2000-01-08improved the error checkingAndrew Tridgell1-26/+73
2000-01-07don't use strcpyAndrew Tridgell1-1/+2
2000-01-07- patch from Rusty to neaten up the code a bitAndrew Tridgell1-232/+106
2000-01-05lower the default hash size a bitAndrew Tridgell1-1/+1
2000-01-03drop the alignment to 4 bytes - this makes tdb more space efficientAndrew Tridgell1-1/+1
2000-01-02updated docsAndrew Tridgell1-1/+1
2000-01-02- added tdb_flags option to tdb_open()Andrew Tridgell1-13/+40
2000-01-02- optimise tdb_store() a littleAndrew Tridgell1-7/+15
1999-12-24fixed more locking bugs - all seems OK nowAndrew Tridgell1-39/+66
1999-12-23fixed locking codeAndrew Tridgell1-69/+194
1999-12-22fixed a bug in the handling of tdb version number upgradeAndrew Tridgell1-0/+3
1999-12-22added some paranoia codeAndrew Tridgell1-41/+46
1999-12-21converted all our existing shared memory code to use a tdb databaseAndrew Tridgell1-31/+34
1999-12-21first cut at using the tdb code for the connections structure, theAndrew Tridgell1-4/+35
1999-12-21first pass at the database code for Samba. This also includes a testAndrew Tridgell1-0/+1001