lmdb-go
lmdb-go copied to clipboard
Bindings for the LMDB C library
`lmdb-go` fails to build when using go 1.18: ``` src/github.com/bmatsuo/lmdb-go/lmdb/example_test.go:341:6: dbi declared but not used src/github.com/bmatsuo/lmdb-go/lmdb/example_test.go:668:6: dbi declared but not used src/github.com/bmatsuo/lmdb-go/lmdb/example_test.go:682:6: dbi declared but not used src/github.com/bmatsuo/lmdb-go/lmdb/example_test.go:696:6: dbi declared...
Cursor.Put would write "\x00" instead of an empty value, while txn.Put would do the right thing. Fixes #140
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...
Allow to the name value OpenDBI method as an empty string. From lmdb documentation [doc](http://www.lmdb.tech/doc/group__internal.html#gac08cad5b096925642ca359a6d6f0562a) name can be empty "If only a single database is needed in the environment, this...
I am facing below warning and build stops, kindly check and help. On same machine my colleagues able to build without any errors, DEBUG: Executing shell function do_compile_ptest_base # github.com/mendersoftware/mender/vendor/github.com/bmatsuo/lmdb-go/lmdb...
Hi, I have ubuntu bionic, gcc 7.3.0-16ubuntu3. I have implicit fallthrough warning: ``` $ go get github.com/bmatsuo/lmdb-go/lmdb # github.com/bmatsuo/lmdb-go/lmdb mdb.c: In function ‘mdb_cursor_put’: mdb.c:6725:9: warning: this statement may fall through...
Fixes a known bug in lmdb that causes crash following cursor delete of dupsort keys. See #131 ``` > go test 2020/02/08 01:13:36 this is just a test PASS ok...
There is a bug in this version of `mdb_cur_del` that is causing my program to crash when using cursor delete with the dupsort flag. This bug has been fixed in...