summaryrefslogtreecommitdiff
path: root/source4/lib/tdb
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r452: move from first-fit to best-fit in tdb record allocation. For aAndrew Tridgell1-48/+97
situation where we are continually increasing the size of a record (such as ldb index records) this reduces the resulting tdb size by a factor of over 100x, due to reductions in fragmentation. It appears to have no noticable effect on the speed in other cases. (This used to be commit b61d7f8bbc0c01d648ce204ffb6ea657e0b04c03)
2004-04-01allow "struct TDB_DATA" as well as just "TDB_DATA"Andrew Tridgell1-1/+1
in general I prefer the struct form for Samba4 structures. I think its clearer. (This used to be commit 63b26557744ce4cbf5c9419f752fbd63ed8bfec6)
2004-03-28merge some recent tdb changed from samba3Andrew Tridgell2-9/+74
(This used to be commit 0e845ecd49841c620f7f9c5ba6c5bfbb0c572032)
2004-03-28switch from SIG_ATOMIC_T to sig_atomic_tAndrew Tridgell3-4/+4
(This used to be commit b881b72cb9cb5a4a8ad27b621e8cbe9dcfa7ba7f)
2004-03-28after discussion with the copyright holders tdb is now under the LGPLAndrew Tridgell3-38/+56
(This used to be commit 51409e2a417fb0673f59e5c823d7fe54b21e6f76)
2004-03-28added a TDB_MODIFY flag to tdb_store() that says "if the recordAndrew Tridgell2-0/+7
doesn't exist then fail the store" (This used to be commit 6aec1457f8772cf81b88a0a00cc2ad7c16cd0d87)
2004-03-28added a private pointer to tdb_traverse() to allow callers to supplyAndrew Tridgell2-4/+4
data to their traverse function (This used to be commit 76bf816485bf869c293791659da5dff2425d2d32)
2004-03-28removed the state parameter to tdb_traverse and the TDB_MODIFY flagAndrew Tridgell2-12/+7
(This used to be commit 6505efc7e9bfcdae3e370d8557328470608b87ca)
2003-12-12 * the RPC-ECHO pipe now works in smbd, as long as the data sizesAndrew Tridgell1-2/+1
don't cause fragmented pdus (I'll add fragments shortly) * change data_blob_talloc() to not zero memory when the 2nd argument is NULL. The zeroing just masks bugs, and can't even allow a DOS attack * modified pidl to ensure that [ref] arguments to the out side of functions are allocated when parsing the in side. This allows rpc backends to assume that [ref] variables are all setup. Doesn't work correctly for [ref] arrays yet * changed DLIST_ADD_END() to take the type instead of a tmp variable. This means you don't need to declare a silly tmp variable in the caller (This used to be commit 46e0a358198eeb9af1907ee2a29025d3ab23b6d1)
2003-12-10 * removed some unused codeAndrew Tridgell4-49/+174
* updated tdb to latest version from Samba3 * removed some extraneous ';' in tdbutil.c (Thanks to Erlend Aasland for pointing this out) (This used to be commit f3eaf270e57d8d2e2157a6a36e260860c7f71c19)
2003-08-15more fixes from the IRIX compiler (thanks herb!)Andrew Tridgell2-3/+3
(This used to be commit 02d068ba7d81d6db25122144981c63f74ad44025)
2003-08-13first public release of samba4 codeAndrew Tridgell8-0/+3550
(This used to be commit b0510b5428b3461aeb9bbe3cc95f62fc73e2b97f)