Anton Kaliaev
|
0b22b27bbb
|
avoid infinite recursion by proxying to iterator
```
WARNING: staticcheck, gosimple and unused are all set, using megacheck instead
db/go_level_db.go:126:15:warning: infinite recursive call (SA5007) (megacheck)
db/go_level_db.go:135:17:warning: infinite recursive call (SA5007) (megacheck)
db/mem_db.go:106:2:warning: redundant return statement (S1023) (megacheck)
```
https://circleci.com/gh/tendermint/tmlibs/220
Also remove unnecessary return statement
|
7 years ago |
Alexis Sellier
|
6b1e3bcee3
|
Add comments about copying
|
7 years ago |
Alexis Sellier
|
e9e6ec3a2c
|
Implement Key/Value on Iterator for GoLevelDB
This is needed because leveldb reuses the keys on each iteration.
In our wrapper, we copy the key/value so that it is safe to store.
|
7 years ago |
Alexis Sellier
|
219d4e8427
|
Add IteratorPrefix method to Iterator
|
7 years ago |
Ethan Buchman
|
2f8551d3b6
|
go-common -> tmlibs
|
8 years ago |
Ethan Buchman
|
900be74e8f
|
update import paths
|
8 years ago |
Ethan Buchman
|
fdbb10827d
|
merge go-db
|
8 years ago |
Paul W. Homer
|
34e2d6638d
|
Fixed a typo in LevelDB property names.
|
8 years ago |
Paul W. Homer
|
6064c80250
|
Modified all db types to conform to the interface changes.
|
8 years ago |
Paul W. Homer
|
d6205eb4ca
|
Changed the iterations
|
8 years ago |
Paul W. Homer
|
bb8104b624
|
Exposed the LevelDB iterator in the DB struct.
|
8 years ago |
Jae Kwon
|
5e2a1d3e30
|
Fix tests; Support 'leveldb' for legacy
|
8 years ago |
Jae Kwon
|
5ab5538d6c
|
Move cleveldb to own file w/ build tag condition 'gcc'
|
8 years ago |
Jae Kwon
|
9f81134388
|
Add support for levigo bindings
|
8 years ago |
Jae Kwon
|
28d39f8726
|
...
|
9 years ago |