bmatsuo / lmdb-go

Bindings for the LMDB C library
BSD 3-Clause "New" or "Revised" License
158 stars 59 forks source link

Cursor.Put writes "\x00" instead of an empty value #140

Open wojas opened 3 years ago

wojas commented 3 years ago

Cursor.Put writes "\x00" when you try to write an empty value. The corresponding txn.Put does do the right thing and it has a test for this situation.

PR with coming up.