Skip to content

Commit

Permalink
Fix last compilation issues
Browse files Browse the repository at this point in the history
  • Loading branch information
adamretter committed Dec 21, 2023
1 parent dac1ba7 commit d12c929
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion java/src/main/java/org/rocksdb/AbstractRocksIterator.java
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ public void refresh() throws RocksDBException {
@Override
public void refresh(final Snapshot snapshot) throws RocksDBException {
assert (isOwningHandle());
refresh1(nativeHandle_, snapshot.getNativeHandle());
refresh1(nativeHandle_, snapshot.nativeHandle_);
}

@Override
Expand Down
2 changes: 1 addition & 1 deletion java/src/main/java/org/rocksdb/Options.java
Original file line number Diff line number Diff line change
Expand Up @@ -2148,7 +2148,7 @@ public List<TablePropertiesCollectorFactory> tablePropertiesCollectorFactory() {
public void setTablePropertiesCollectorFactory(List<TablePropertiesCollectorFactory> factories) {
long[] factoryHandlers = new long[factories.size()];
for (int i = 0; i < factoryHandlers.length; i++) {
factoryHandlers[i] = factories.get(i).getNativeHandle();
factoryHandlers[i] = factories.get(i).nativeHandle_;
}
setTablePropertiesCollectorFactory(nativeHandle_, factoryHandlers);
}
Expand Down

0 comments on commit d12c929

Please sign in to comment.