Example updated
This commit is contained in:
parent
ca28e4e3cf
commit
55e19b4521
|
@ -1,4 +1,4 @@
|
|||
import ../src/rocksdb, cpuinfo
|
||||
import ../rocksdb, cpuinfo
|
||||
|
||||
const
|
||||
dbPath: cstring = "/tmp/rocksdb_simple_example"
|
||||
|
@ -6,8 +6,8 @@ const
|
|||
|
||||
proc main() =
|
||||
var
|
||||
db: ptr rocksdb_t
|
||||
be: ptr rocksdb_backup_engine_t
|
||||
db: rocksdb_t
|
||||
be: rocksdb_backup_engine_t
|
||||
options = rocksdb_options_create()
|
||||
# Optimize RocksDB. This is the easiest way to
|
||||
# get RocksDB to perform well
|
||||
|
|
Loading…
Reference in New Issue