[LDB] Store index DNs as canonical case
simo
idra at samba.org
Tue Sep 1 06:31:09 MDT 2009
On Tue, 2009-09-01 at 21:59 +1000, Andrew Bartlett wrote:
> --- a/source4/lib/ldb/ldb_tdb/ldb_tdb.h
> +++ b/source4/lib/ldb/ldb_tdb/ldb_tdb.h
> @@ -29,6 +29,8 @@ struct ltdb_private {
> bool check_base;
> struct ltdb_idxptr *idxptr;
> bool prepared_commit;
> +
> + int casefold_index;
> };
Why casefold_index ?
I'd rather call it index version, and have an index_v00_to_v01 upgrade
function. If later on we need to change something else we will be able
to bump up index_version to 02 and chain a index_v01_to_v02 upgrade
function.
Simo.
--
Simo Sorce
Samba Team GPL Compliance Officer <simo at samba.org>
Principal Software Engineer at Red Hat, Inc. <simo at redhat.com>
More information about the samba-technical
mailing list