[Date Prev][Date Next] [Chronological] [Thread] [Top]

(ITS#8335) MDB_MULTIPLE issues



Full_Name: Hallvard B Furuseth
Version: LMDB_0.9.17
OS: Linux x86_64
URL: 
Submission from: (NULL) (2001:700:100:202::105)
Submitted by: hallvard


Put(0 data items, MDB_MULTIPLE) stores 1 item.  The doc does
not warn against 0 items.  I suggest supporting 0 items, it
is a commonly supported convenience elsewhere (e.g. memcpy).

Why does MDB_MULTIPLE require a cursor? mdb_put() rejects it.