pristine/cdb-0.75-traversal.README
changeset 0 6ba86bca35c0
equal deleted inserted replaced
-1:000000000000 0:6ba86bca35c0
       
     1 http://www.fefe.de/cdb/
       
     2 
       
     3 What is cdb and why does it need your patches?
       
     4 
       
     5 cdb is DJ Bernstein's great constant database library. It allows the fast
       
     6 creation and access to read-only databases. The creation is fast enough to
       
     7 create those databases often and the access is very fast and uses only very
       
     8 little code. Also, there are no corruption or locking issues at all.
       
     9 
       
    10 Unfortunately, the cdb API has no way to dump all records in a cdb. I need this
       
    11 functionality for another project called rdbm that I will release soon,
       
    12 hopefully. rdbm will add write access to cdb using a journal and it will handle
       
    13 concurrent accesses by offering a TCP server.
       
    14 
       
    15 What does your diff do?
       
    16 
       
    17 My diff adds simple support for traversing a cdb, i.e. listing all keys in a
       
    18 cdb. It also adds a new target called "traverse" that is an example program
       
    19 that will dump the cdb you name on the command line and a target called
       
    20 "cdbnext" that can list the key following the key given on the command line.
       
    21 
       
    22 Where can I get the patch?
       
    23 
       
    24 Simply download cdb-0.75-traversal.diff2.bz2 (uncompressed). Beware: unified
       
    25 diff format (you probably need GNU patch to apply it).
       
    26