Fixed a typo in RocksDBSample.java
Summary: Fixed a typo in RocksDBSample.java Test Plan: make clean make rocksdbjava -j32 make jtest
This commit is contained in:
parent
ca25e86efc
commit
727684bf97
@ -112,7 +112,7 @@ public class RocksDBSample {
|
|||||||
assert(options.tableFactoryName().equals("BlockBasedTable"));
|
assert(options.tableFactoryName().equals("BlockBasedTable"));
|
||||||
|
|
||||||
try {
|
try {
|
||||||
db = RocksDB.open(options, db_path_not_found);
|
db = RocksDB.open(options, db_path);
|
||||||
db.put("hello".getBytes(), "world".getBytes());
|
db.put("hello".getBytes(), "world".getBytes());
|
||||||
byte[] value = db.get("hello".getBytes());
|
byte[] value = db.get("hello".getBytes());
|
||||||
assert("world".equals(new String(value)));
|
assert("world".equals(new String(value)));
|
||||||
|
Loading…
Reference in New Issue
Block a user