1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00
samba-mirror/lib/ldb/ldb_sqlite3
Joseph Sutton 578c1d39f5 ldb:ldb_sqlite3: Access correct member of union
Accessing the wrong member of a union invokes undefined behaviour.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2023-08-14 04:57:34 +00:00
..
base160.c
ldb_sqlite3.c ldb:ldb_sqlite3: Access correct member of union 2023-08-14 04:57:34 +00:00
README
schema
trees.ps

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