multi-indexed tdb

Stefan (metze) Metzmacher metze at samba.org
Thu Aug 3 07:48:23 GMT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Volker Lendecke schrieb:
> It's a bit difficult to get that really reliable. You can't
> put key function signatures into the files. If we had and
> interpreted language, we could put the functions into the db
> itself, but with C that's not possible. How do you propose
> to  make that a bit more safe?

I mean with this wrapper you use only PRIM/* ans IDX/*/* keys.
and adding a "VERSION" key with a number would be good when you later
want to imporove the traverse cases or and need to change the way
indexes are stored.

New code could check this version and convert the old entries...

metze
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFE0apHm70gjA5TCD8RAoAvAJ9yEsa9TqFzkl+Wl/GVkf6meDCG0wCgg4Y1
CqmrtrzIssw62qbwSlzWGns=
=SCpU
-----END PGP SIGNATURE-----


More information about the samba-technical mailing list