lmdb-js
lmdb-js copied to clipboard
clearAsync fails when key-encoding = 'binary' and encryption
clearAsync seems to not work for DBs with key-encoding = 'binary'
Repro: 1/ Create a new DB. Settings: {keyEncoding: 'binary'}
2/ Call clearAsync
TypeError: Cannot convert undefined or null to object
at Buffer.set (
Does not fail with keyEncoding = 'ordered-binary'
Fix should be available in v2.6.9.
Woo!! Thank you!