Re: multi-indexed tdb
"Stefan (metze) Metzmacher"
Thu, 03 Aug 2006 09:48:23 +0200
-----BEGIN PGP SIGNED MESSAGE-----
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...
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----