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:
Yueh-Hsuan Chiang 2015-03-25 11:08:08 -07:00
parent ca25e86efc
commit 727684bf97

View File

@ -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)));