Skip to content

Commit

Permalink
Update RocksDb to version 9.7.2 (#75)
Browse files Browse the repository at this point in the history
  • Loading branch information
bhartnett authored Dec 10, 2024
1 parent 17eb247 commit afc8339
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 3 deletions.
2 changes: 1 addition & 1 deletion rocksdb.nimble
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ skipDirs = @["examples", "tests"]
mode = ScriptMode.Verbose

### Dependencies
requires "nim >= 1.6", "results", "tempfile", "unittest2"
requires "nim >= 2.0", "results", "tempfile", "unittest2"

# Format only works with nim version 2
task format, "Format nim code using nph":
Expand Down
4 changes: 4 additions & 0 deletions rocksdb/lib/rocksdb.h
Original file line number Diff line number Diff line change
Expand Up @@ -1666,6 +1666,10 @@ extern ROCKSDB_LIBRARY_API unsigned char
rocksdb_options_get_write_dbid_to_manifest(rocksdb_options_t*);
extern ROCKSDB_LIBRARY_API void rocksdb_options_set_write_dbid_to_manifest(
rocksdb_options_t*, unsigned char);
extern ROCKSDB_LIBRARY_API unsigned char
rocksdb_options_get_write_identity_file(rocksdb_options_t*);
extern ROCKSDB_LIBRARY_API void rocksdb_options_set_write_identity_file(
rocksdb_options_t*, unsigned char);

extern ROCKSDB_LIBRARY_API unsigned char
rocksdb_options_get_track_and_verify_wals_in_manifest(rocksdb_options_t*);
Expand Down
10 changes: 10 additions & 0 deletions rocksdb/lib/rocksdb_gen.nim
Original file line number Diff line number Diff line change
Expand Up @@ -3208,6 +3208,16 @@ proc rocksdb_options_set_write_dbid_to_manifest*(
a1: ptr rocksdb_options_t, a2: uint8
) {.cdecl, importc: "rocksdb_options_set_write_dbid_to_manifest", dynlib: librocksdb.}

proc rocksdb_options_get_write_identity_file*(
a1: ptr rocksdb_options_t
): uint8 {.
cdecl, importc: "rocksdb_options_get_write_identity_file", dynlib: librocksdb
.}

proc rocksdb_options_set_write_identity_file*(
a1: ptr rocksdb_options_t, a2: uint8
) {.cdecl, importc: "rocksdb_options_set_write_identity_file", dynlib: librocksdb.}

proc rocksdb_options_get_track_and_verify_wals_in_manifest*(
a1: ptr rocksdb_options_t
): uint8 {.
Expand Down
2 changes: 1 addition & 1 deletion vendor/rocksdb
Submodule rocksdb updated 134 files
2 changes: 1 addition & 1 deletion vendor/vcpkg
Submodule vcpkg updated 2228 files

0 comments on commit afc8339

Please sign in to comment.