diff --git a/rocksdb.nimble b/rocksdb.nimble index 1c104cd..28cc84c 100644 --- a/rocksdb.nimble +++ b/rocksdb.nimble @@ -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": diff --git a/rocksdb/lib/rocksdb.h b/rocksdb/lib/rocksdb.h index b1ff902..d0d6a41 100644 --- a/rocksdb/lib/rocksdb.h +++ b/rocksdb/lib/rocksdb.h @@ -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*); diff --git a/rocksdb/lib/rocksdb_gen.nim b/rocksdb/lib/rocksdb_gen.nim index 6a77a53..a8f6c5d 100644 --- a/rocksdb/lib/rocksdb_gen.nim +++ b/rocksdb/lib/rocksdb_gen.nim @@ -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 {. diff --git a/vendor/rocksdb b/vendor/rocksdb index 13d5230..b5cde68 160000 --- a/vendor/rocksdb +++ b/vendor/rocksdb @@ -1 +1 @@ -Subproject commit 13d5230e5da650cf93e6dccb389c82d316d355c6 +Subproject commit b5cde68b8ab2b78b3364c23c566eee14d5cc488a diff --git a/vendor/vcpkg b/vendor/vcpkg index c82f746..b2cb0da 160000 --- a/vendor/vcpkg +++ b/vendor/vcpkg @@ -1 +1 @@ -Subproject commit c82f74667287d3dc386bce81e44964370c91a289 +Subproject commit b2cb0da531c2f1f740045bfe7c4dac59f0b2b69c