1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-15 16:23:49 +03:00
Files
samba-mirror/source/lib/ldb/ldb_sqlite3
Andrew Tridgell 7e44f9153c r10753: don't require every ldb module to implement both a search_bytree() and
a search() function, instead each module now only implements the
bytree method, and the expression based search is handled generically
by the modules code. This makes for more consistency and less code
duplication.

fixed the tdb backend to handle BASE searches much more
efficiently. They now always only lookup one record, regardless of the
search expression
2007-10-10 13:39:26 -05:00
..

trees.ps contains an explanation of the Genealogical Representation of Trees
in Databases which is being used in ldb_sqlite3.  Note that we use fgID
representation with 4 bytes per level, so we can represent 6.5E+08 subclasses
of any object class.  This should be adequate for our purposes. :-)

The following document is the primary basis for the schema currently being
used here:  http://www.research.ibm.com/journal/sj/392/shi.html