[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
bin/39254: db(1) doesn't work properly anymore since the upgrade to 1.15
>Synopsis: db(1) doesn't work properly anymore since the upgrade to 1.15
>Arrival-Date: Thu Jul 31 11:10:00 +0000 2008
>Originator: Edwin Groothuis
With the commit of revision 1.15, the db(1) command is broken when selecting a
$ db/db -N hash hash.db localhost
db: Error reading key `localhost': Invalid argument
The invalid argument comes from hash_seq() in src/lib/libc/db/hash/hash.c,
which checks for the flags being R_FIRST or R_NEXT. db_get() calls it with
R_CURSOR, which works fine for a BTree database but not for hash-database.
Backout of 1.14.
Main Index |
Thread Index |