Re: Invoking cdbdump from a bash script, hanging
[email protected] (Paul Jarc) Thu, 19 Dec 2002 11:53:37 -0500
| Newsgroups | gmane.comp.djb.cdb |
|---|---|
| Organization | What did you have in mind? A short, blunt, human pyramid? |
| Message-ID | <[email protected]> |
"Gerrit Pape" <[email protected]> wrote: > On Wed, Dec 18, 2002 at 09:22:54PM -0800, Chris Wilkes wrote: >> A typical transaction would be asking if an MD5 entry is in there. >> A non-typical one would be changing an entry's value from 0 to 1 or >> vice versa. > > If you don't change the length of a value, you can edit the value in the > binary cdb directly, without recreating the hashes. Multi-byte writes may not be atomic (AFAIK), so another requirement is that the hash values should be only one byte. (In this case, they are.) paul