summaryrefslogtreecommitdiff
path: root/source3/tdb
AgeCommit message (Collapse)AuthorFilesLines
2000-01-24tdb record read error return check fix from Dave Airlie <airlied@samba.org>.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 82c99dc8d8bc79e88f0db651f04fc23508195a51)
2000-01-14casts and defines to make solaris happyAndrew Tridgell1-0/+4
(This used to be commit 77cf152c02b445f4b6e9de393936dd6e54e6f442)
2000-01-08improved the error checkingAndrew Tridgell3-27/+86
(This used to be commit 2a152998a1489dead0edadb06f78b0ad6ede1a3a)
2000-01-07don't use strcpyAndrew Tridgell1-1/+2
(This used to be commit bf9b1328c5843eb217eff4ca05645498de2def82)
2000-01-07don't require readlineAndrew Tridgell1-1/+13
(This used to be commit 2dbe70da8db548b3423c6c0de0f282fdf82f0fad)
2000-01-07- patch from Rusty to neaten up the code a bitAndrew Tridgell2-232/+109
- fixed a race condition in tdb_open() (This used to be commit 21d4882f64a65ee1786231eb55b7768bb44921fd)
2000-01-05lower the default hash size a bitAndrew Tridgell1-1/+1
(This used to be commit 51ed6e8cec47642641e6b26682fd6f25624b19ae)
2000-01-03ignore a few filesAndrew Tridgell1-0/+5
(This used to be commit 8767334d8a44db5cb8abf084d185dae6e32db062)
2000-01-03drop the alignment to 4 bytes - this makes tdb more space efficientAndrew Tridgell1-1/+1
and doesn't seem to affect performance (This used to be commit 1fb293732ed65deba6958000a9f6de7900e21f5c)
2000-01-02updated docsAndrew Tridgell2-3/+7
(This used to be commit c199ec9543d0d84bd5ea29078887684f708c9637)
2000-01-02- added tdb_flags option to tdb_open()Andrew Tridgell5-21/+54
- added TDB_CLEAR_IF_FIRST flag to clear the database if this is the first attached process. Useful for non-persistent databases like our locking area (this will also make upgrades to new database layouts easier) - use lock_path() in a couple of places - leave connections database open while smbd running - cleaned up some tdb code a little, using macros for constants (This used to be commit 00e9da3ca577527db392aced62f02c69cfee8f4f)
2000-01-02show test result in ops/secAndrew Tridgell1-2/+2
(This used to be commit 88a146ab04d65fc306569044dc00907a374fac51)
2000-01-02- optimise tdb_store() a littleAndrew Tridgell1-7/+15
- prevent a free of an unallocated pointer (This used to be commit b35b5c63886823bb8b8d8c5c29ccc7b315a7de30)
1999-12-24a useful locking tester - it uses lots of simultaneous writersAndrew Tridgell1-0/+117
(This used to be commit 3b3fdd8661cc10057823be4c594e40ca615ca704)
1999-12-24fixed more locking bugs - all seems OK nowAndrew Tridgell2-42/+67
(This used to be commit 584537961b6134a50089d37328a21c617bc6547b)
1999-12-23fixed locking codeAndrew Tridgell2-70/+195
(This used to be commit 1f5dc924044fb54b10ac8884d4df1e15902de8be)
1999-12-22fixed a bug in the handling of tdb version number upgradeAndrew Tridgell1-0/+3
(This used to be commit ed7541668e9bc98ae9daf55f817d2de04345e660)
1999-12-22added some paranoia codeAndrew Tridgell1-41/+46
(This used to be commit c547ffa9e9ce68a77f63591b37b690a83a956348)
1999-12-21expanded the tdb documentationAndrew Tridgell1-0/+110
(This used to be commit efb4fbcca876ec661af0d72d4df2f04f36d4dd76)
1999-12-21converted all our existing shared memory code to use a tdb databaseAndrew Tridgell1-31/+34
instead of either sysv or mmap shared memory or lock files. this means we can now completely remove locking_shm.c locking_slow.c shmem.c shmem_sysv.c and lots of other things also got simpler locking.c got a bit larger, but is much better compartmentalised now (This used to be commit e48c2d9937eea0667b8cd3332e49c06314ef31e7)
1999-12-21first cut at using the tdb code for the connections structure, theAndrew Tridgell3-5/+44
SWAT status page and smbstatus. It made the code _much_ simpler, I wish we'd done a database module a long time ago! (This used to be commit 4951755413c11d4c5b9af4699a6e622056d52433)
1999-12-21first pass at the database code for Samba. This also includes a testAndrew Tridgell5-0/+1518
suite and a very simple tool for manuipulating the databases. the main code is in tdb/tdb.c and includes both mmap and file based IO. All databases auto-expand and allow multiple simultaneous writers. the next step is using this new capability in lots of places in Samba where we have existing ad-hoc databases (This used to be commit c89d29cc5e3b6d568928acace01144059f1668b3)