Jordan Hrycaj
b7f0728225
Allow access to some details of the DB driver ( #31 )
...
why:
Playing with SST direct import
2022-08-11 09:13:10 +01:00
Ștefan Talpalaru
fb3f2c30b0
Windows static lib: link required system libs ( #30 )
2022-03-22 18:46:47 +01:00
Ștefan Talpalaru
c381daf84f
allow statically linking librocksdb ( #29 )
2022-03-22 10:02:39 +01:00
Ștefan Talpalaru
c565aa88b9
CI: use GitHub Actions ( #28 )
...
* CI: use GitHub Actions
2022-01-11 02:39:31 +01:00
Ștefan Talpalaru
eddfa91bdd
version 0.3.1
2021-11-20 01:29:06 +01:00
Ștefan Talpalaru
6f55b371e2
Nim-1.6 fix ( #27 )
2021-11-20 01:19:21 +01:00
Ștefan Talpalaru
6aab1e0dd6
Merge pull request #25 from xyb/removeuglycast
...
remove ugly cast
2020-07-20 14:45:25 +02:00
Xie Yanbo
1717743ce7
remove ugly cast
2020-07-20 18:44:28 +08:00
andri lim
11d80282c1
Merge pull request #24 from xyb/csizet
...
fix csize_t issue for nim 1.2.x
2020-07-20 12:34:41 +07:00
Xie Yanbo
3a54ced19d
fix csize_t issue for nim 1.2.x
2020-07-20 00:30:09 +08:00
Jacek Sieka
e528ee949a
get with callback ( #22 )
...
* get with callback
avoids seq copy sometimes
* comment on defect exception safety
2020-04-23 20:55:21 +02:00
Jacek Sieka
8da2f11951
nim 1.2, port to results ( #21 )
2020-04-18 00:18:04 +02:00
Ștefan Talpalaru
08fec021c0
CI: update script path
2019-08-24 05:01:23 +02:00
kdeme
5b1307cb1f
Merge pull request #20 from status-im/max-open-files
...
Allow setting max open files in RocksDbInstance init
2019-07-16 21:12:30 +02:00
kdeme
a48aaf2215
Allow setting max open files in RocksDbInstance init
2019-07-16 15:51:52 +02:00
Jacek Sieka
60faf6af17
std_shims -> stew
2019-07-07 12:11:27 +02:00
Ștefan Talpalaru
234c7d2756
Merge branch 'buildnim'
2019-06-18 18:31:15 +02:00
Ștefan Talpalaru
9d309f07d5
add .appveyor.yml; use build_nim.sh and build_rocksdb.sh
2019-06-18 17:27:18 +02:00
andri lim
22ab21a5ef
add readonly option
2019-04-01 11:29:19 +03:00
Ștefan Talpalaru
2e858e6b9a
assert() -> doAssert()
2019-03-14 00:12:27 +01:00
Ștefan Talpalaru
dce00a6ff8
don't allow failures on OSX
2019-01-20 11:45:52 +02:00
Ștefan Talpalaru
65493e8bac
enable OSX for Travis
2019-01-20 11:45:52 +02:00
Ștefan Talpalaru
d6018fac5c
fix Travis tests on macOS
2019-01-20 11:45:52 +02:00
Ștefan Talpalaru
0860aee591
tests refactoring
...
- added "--threads:on"
- fixed the Nim API tests and moved them to unittest
- added copyright header
- combined the 2 test file into tests/all.nim and set that as the
Nimble test target
- had Travis run that
- new "tempfile" dependency to create proper tempfiles + deleting them
at the end
- copied the error string to RocksDBResult
2019-01-20 11:45:52 +02:00
Bruno Škvorc
f8d6165bd5
License update to respect original repo ( #16 )
2019-01-03 14:04:11 +01:00
Bruno Škvorc
d9c51b8051
Update README.md
2019-01-02 14:57:34 +01:00
Ștefan Talpalaru
3c0ab43e1e
use dynamic linking instead of dlopen on all Linux distros
...
- also document the need for "librocksdb-dev" on Debian
2018-12-26 23:52:42 +02:00
Jacek Sieka
d8cfc392bc
fix license files
2018-11-14 12:57:17 -06:00
Yuriy Glukhov
e2433f0651
Use native linking on Arch linux.
2018-10-02 21:17:42 +03:00
Yuriy Glukhov
1edab645d9
Distinguish empty values from non existent
2018-09-07 16:30:36 +03:00
Jacek Sieka
68ac74e64f
readme: update license
2018-09-05 12:48:31 -06:00
Jacek Sieka
6e8871f4c7
readme: fix license, badges
2018-09-04 23:02:57 -06:00
Jacek Sieka
c1e11e7f75
remove example from README - linked code is more recent
2018-08-16 13:13:34 -06:00
Yuriy Glukhov
c84ff3309c
Merge pull request #9 from status-im/rocksdb-wrapper-fixes
...
Rocksdb wrapper fixes
2018-08-16 18:19:29 +03:00
Jacek Sieka
e48a45bd44
reuse read and write options
...
* fixes segfault in del
* fixes initResource freeing options before they get used
* fixes failing test cases
* avoids reallocating options on every access
* deallocates fields in reverse creation order
2018-08-16 09:13:13 -06:00
Jacek Sieka
e05b1a411d
remove partial ABI version again, turns out travis has 4.x installed!
2018-08-15 20:45:20 -06:00
Jacek Sieka
9a10f01a27
add more version info to linked library - this is better but still wrong
2018-08-15 20:33:38 -06:00
Jacek Sieka
cfb1059f34
compile fixes for second test (why didn't nimble test catch these?)
2018-08-15 20:16:57 -06:00
Jacek Sieka
0f6b9ffe8f
disable optimization that requires snappy
...
this causes early test failures when rocksdb is compiled without it
2018-08-15 20:08:03 -06:00
Jacek Sieka
4b73bca449
fix error parameter type and memory leak
...
* error is a pointer to a cstring that the API will allocate on error
* if an error is returned, it must be free'd
* note missing tests for when error happens
2018-08-15 19:56:18 -06:00
Jacek Sieka
d510091a5b
fix string conversion for void results
...
value does not exist for void
2018-08-15 19:52:53 -06:00
Yuriy Glukhov
4675336fae
Merge pull request #8 from status-im/dry
...
Dry up types and pragmas
2018-08-02 15:51:25 +03:00
Yuriy Glukhov
291621b828
Mooore type safety
2018-07-30 19:34:36 +03:00
Yuriy Glukhov
55e19b4521
Example updated
2018-07-30 12:57:42 +03:00
Yuriy Glukhov
ca28e4e3cf
Test fixup
2018-07-30 12:25:27 +03:00
Yuriy Glukhov
ba0aa8e5db
Dry up types and pragmas
2018-07-30 12:12:50 +03:00
Yuriy Glukhov
607af3c1aa
Removed header dependency ( #7 )
2018-07-27 10:55:25 +02:00
Yuriy Glukhov
840d470eb9
Fixed pkg struct ( #5 )
2018-07-04 14:09:03 +02:00
Yuriy Glukhov
ea32db3c8f
Merge pull request #4 from status-im/fix-tests
...
Fixed tests
2018-07-04 14:46:52 +03:00
Yuriy Glukhov
c5b8fa823f
Fixed tests
2018-07-04 14:41:03 +03:00