mirror of
https://github.com/samba-team/samba.git
synced 2025-11-21 12:23:50 +03:00
r7828: Although there is still plenty to do, ldb_sqlite3 now passes the set of tests
in tests/test-sqlite3.sh (tests/test-generic.sh). There are lots of optimizations still TBD, and some things are REALLY slow right now (e.g. each add() operation takes 1/3 - 1/2 second) but it's ready for interested parties to poke it and prod it and see how (un)reasonable it is. Play away. Still to be implemented or improved: - tdb specials (@MODULES, @SUBCLASSES, etc.) - all DNs are case-folded in their entirty right now (since doing otherwise would require @ATTRIBUTES to be implemented) - speed improvements and optimizations. I am quite confident that the excessively slow add() operation can be much improved, and other areas can be somewhat improved.
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
c19d5706f4
commit
1dd8650055
@@ -254,6 +254,16 @@ int ldb_modify(struct ldb_context *ldb,
|
||||
*/
|
||||
int ldb_rename(struct ldb_context *ldb, const char *olddn, const char *newdn);
|
||||
|
||||
/*
|
||||
create a named lock
|
||||
*/
|
||||
int ldb_lock(struct ldb_context *ldb, const char *lockname);
|
||||
|
||||
/*
|
||||
release a named lock
|
||||
*/
|
||||
int ldb_unlock(struct ldb_context *ldb, const char *lockname);
|
||||
|
||||
/*
|
||||
delete a record from the database
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user